Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / drivers / mtd / maps / arctic-mtd.c
index c111b2d..d95ae58 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Id: arctic-mtd.c,v 1.10 2003/06/02 16:37:59 trini Exp $
- * 
- * drivers/mtd/maps/arctic-mtd.c MTD mappings and partition tables for 
+ * $Id: arctic-mtd.c,v 1.14 2005/11/07 11:14:26 gleixner Exp $
+ *
+ * drivers/mtd/maps/arctic-mtd.c MTD mappings and partition tables for
  *                              IBM 405LP Arctic boards.
  *
  * This program is free software; you can redistribute it and/or modify
@@ -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);