X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fmtd%2Fmaps%2Febony.c;h=7add7b8f2e980f60dc71ba551a54cb4d6422c914;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=00e87e21138a659d981483b95658d9fdc94a068d;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/mtd/maps/ebony.c b/drivers/mtd/maps/ebony.c index 00e87e211..7add7b8f2 100644 --- a/drivers/mtd/maps/ebony.c +++ b/drivers/mtd/maps/ebony.c @@ -1,5 +1,5 @@ /* - * $Id: ebony.c,v 1.8 2003/06/23 11:48:18 dwmw2 Exp $ + * $Id: ebony.c,v 1.10 2004/07/12 21:59:44 dwmw2 Exp $ * * Mapping for Ebony user flash * @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include static struct mtd_info *flash; @@ -30,13 +30,13 @@ static struct mtd_info *flash; static struct map_info ebony_small_map = { .name = "Ebony small flash", .size = EBONY_SMALL_FLASH_SIZE, - .buswidth = 1, + .bankwidth = 1, }; static struct map_info ebony_large_map = { .name = "Ebony large flash", .size = EBONY_LARGE_FLASH_SIZE, - .buswidth = 1, + .bankwidth = 1, }; static struct mtd_partition ebony_small_partitions[] = { @@ -71,7 +71,7 @@ int __init init_ebony(void) return -ENOMEM; fpga0_reg = readb(fpga0_adr); - iounmap64(fpga0_adr); + iounmap(fpga0_adr); if (EBONY_BOOT_SMALL_FLASH(fpga0_reg) && !EBONY_FLASH_SEL(fpga0_reg))