X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmtd%2Fmaps%2Fbeech-mtd.c;h=5df7361d14079e2d8aae78ea02b76ac59555d038;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=61e21970d4454517abd7fab189ecd7315e7ee7b4;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/mtd/maps/beech-mtd.c b/drivers/mtd/maps/beech-mtd.c index 61e21970d..5df7361d1 100644 --- a/drivers/mtd/maps/beech-mtd.c +++ b/drivers/mtd/maps/beech-mtd.c @@ -1,7 +1,7 @@ /* - * $Id: beech-mtd.c,v 1.7 2003/05/21 12:45:18 dwmw2 Exp $ - * - * drivers/mtd/maps/beech-mtd.c MTD mappings and partition tables for + * $Id: beech-mtd.c,v 1.11 2005/11/07 11:14:26 gleixner Exp $ + * + * drivers/mtd/maps/beech-mtd.c MTD mappings and partition tables for * IBM 405LP Beech boards. * * This program is free software; you can redistribute it and/or modify @@ -51,7 +51,7 @@ static struct map_info beech_mtd_map = { .name = NAME, .size = SIZE, - .buswidth = BUSWIDTH, + .bankwidth = BUSWIDTH, .phys = PADDR }; @@ -74,7 +74,7 @@ init_beech_mtd(void) { printk("%s: 0x%08x at 0x%08x\n", NAME, SIZE, PADDR); - beech_mtd_map.virt = (unsigned long) ioremap(PADDR, SIZE); + beech_mtd_map.virt = ioremap(PADDR, SIZE); if (!beech_mtd_map.virt) { printk("%s: failed to ioremap 0x%x\n", NAME, PADDR);