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