vserver 1.9.5.x5
[linux-2.6.git] / drivers / mtd / maps / arctic-mtd.c
index c111b2d..777276f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: arctic-mtd.c,v 1.10 2003/06/02 16:37:59 trini Exp $
+ * $Id: arctic-mtd.c,v 1.13 2004/11/04 13:24:14 gleixner Exp $
  * 
  * drivers/mtd/maps/arctic-mtd.c MTD mappings and partition tables for 
  *                              IBM 405LP Arctic boards.
@@ -72,7 +72,7 @@
 static struct map_info arctic_mtd_map = {
        .name           = NAME,
        .size           = SIZE,
-       .buswidth       = BUSWIDTH,
+       .bankwidth      = BUSWIDTH,
        .phys           = PADDR,
 };
 
@@ -98,7 +98,7 @@ init_arctic_mtd(void)
 {
        printk("%s: 0x%08x at 0x%08x\n", NAME, SIZE, PADDR);
 
-       arctic_mtd_map.virt = (unsigned long) ioremap(PADDR, SIZE);
+       arctic_mtd_map.virt = ioremap(PADDR, SIZE);
 
        if (!arctic_mtd_map.virt) {
                printk("%s: failed to ioremap 0x%x\n", NAME, PADDR);