vserver 1.9.5.x5
[linux-2.6.git] / drivers / mtd / maps / mbx860.c
index 5adbec8..c5c6901 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: mbx860.c,v 1.5 2003/05/21 12:45:19 dwmw2 Exp $
+ * $Id: mbx860.c,v 1.8 2004/11/04 13:24:15 gleixner Exp $
  *
  * Handle mapping of the flash on MBX860 boards
  *
@@ -54,13 +54,13 @@ struct map_info mbx_map = {
        .name = "MBX flash",
        .size = WINDOW_SIZE,
        .phys = WINDOW_ADDR,
-       .buswidth = 4,
+       .bankwidth = 4,
 };
 
 int __init init_mbx(void)
 {
        printk(KERN_NOTICE "Motorola MBX flash device: 0x%x at 0x%x\n", WINDOW_SIZE*4, WINDOW_ADDR);
-       mbx_map.virt = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);
+       mbx_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);
 
        if (!mbx_map.virt) {
                printk("Failed to ioremap\n");