linux-mips
[Top] [All Lists]

[PATCH 6/6] [MTD] Remove typecast from drivers/mtd/maps/lasat.c

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 6/6] [MTD] Remove typecast from drivers/mtd/maps/lasat.c
From: Martin Michlmayr <tbm@cyrius.com>
Date: Mon, 20 Mar 2006 04:36:46 +0000
Cc: linux-mips@linux-mips.org, akpm@osdl.org
In-reply-to: <20060320043445.GA20171@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060320043445.GA20171@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060126
Remove an unneeded typecast from drivers/mtd/maps/lasat.c, thereby
bringing the file in sync with Linus' tree.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>


--- a/drivers/mtd/maps/lasat.c
+++ b/drivers/mtd/maps/lasat.c
@@ -7,7 +7,8 @@
  * modify it under the terms of the GNU General Public License version
  * 2 as published by the Free Software Foundation.
  *
- * $Id: lasat.c,v 1.7 2004/07/12 21:59:44 dwmw2 Exp $
+ * $Id: lasat.c,v 1.9 2004/11/04 13:24:15 gleixner Exp $
+ *
  *
  */
 
@@ -50,7 +51,7 @@ static int __init init_lasat(void)
        ENABLE_VPP((&lasat_map));
 
        lasat_map.phys = lasat_flash_partition_start(LASAT_MTD_BOOTLOADER);
-       lasat_map.virt = (unsigned long)ioremap_nocache(
+       lasat_map.virt = ioremap_nocache(
                        lasat_map.phys, lasat_board_info.li_flash_size);
        lasat_map.size = lasat_board_info.li_flash_size;
 

-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>