vserver 1.9.5.x5
[linux-2.6.git] / drivers / mtd / maps / pb1xxx-flash.c
index b6b8ccf..06e7315 100644 (file)
@@ -3,7 +3,7 @@
  * 
  * (C) 2001 Pete Popov <ppopov@mvista.com>
  * 
- * $Id: pb1xxx-flash.c,v 1.11 2004/07/12 21:59:44 dwmw2 Exp $
+ * $Id: pb1xxx-flash.c,v 1.14 2004/11/04 13:24:15 gleixner Exp $
  */
 
 #include <linux/config.h>
@@ -17,7 +17,6 @@
 #include <linux/mtd/partitions.h>
 
 #include <asm/io.h>
-#include <asm/au1000.h>
 
 #ifdef         DEBUG_RW
 #define        DBG(x...)       printk(x)
@@ -150,7 +149,7 @@ int __init pb1xxx_mtd_init(void)
         */
        printk(KERN_NOTICE "Pb1xxx flash: probing %d-bit flash bus\n", 
                        BUSWIDTH*8);
-       pb1xxx_mtd_map.virt = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE);
+       pb1xxx_mtd_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE);
 
        simple_map_init(&pb1xxx_mtd_map);