X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmtd%2Fnand%2Fomap-nand-flash.c;h=63a79682802ab4bd6cf7f1323036e87fb7c32429;hb=fdee8764947cde1e6933e7d981ce5b9de00e83e6;hp=a231e18b0d609063dde350ead4d69060b838e9c9;hpb=80564e176c4b6458940530b6e131b536aeab8b62;p=linux-2.6-omap-h63xx.git diff --git a/drivers/mtd/nand/omap-nand-flash.c b/drivers/mtd/nand/omap-nand-flash.c index a231e18b0d6..63a79682802 100644 --- a/drivers/mtd/nand/omap-nand-flash.c +++ b/drivers/mtd/nand/omap-nand-flash.c @@ -21,13 +21,14 @@ #include #include -#include +#include #include #include -#include +#include #include -#include +#include +#include #define DRIVER_NAME "omapnand" @@ -36,7 +37,7 @@ static const char *part_probes[] = { "cmdlinepart", NULL }; #endif struct omap_nand_info { - struct nand_platform_data *pdata; + struct omap_nand_platform_data *pdata; struct mtd_partition *parts; struct mtd_info mtd; struct nand_chip nand; @@ -76,7 +77,7 @@ static int omap_nand_dev_ready(struct mtd_info *mtd) static int __devinit omap_nand_probe(struct platform_device *pdev) { struct omap_nand_info *info; - struct nand_platform_data *pdata = pdev->dev.platform_data; + struct omap_nand_platform_data *pdata = pdev->dev.platform_data; struct resource *res = pdev->resource; unsigned long size = res->end - res->start + 1; int err;