From 19932ac133b7e0b44bfc7a0ed0361f1fa093d915 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Sat, 15 Dec 2007 17:26:51 -0800 Subject: [PATCH] ARM: OMAP: Remove remaining instances of nand_platform_data These were left out of commit 0ed10653d529abbaf37929323926981f16d03a08. Signed-off-by: Tony Lindgren --- drivers/mtd/nand/omap-nand-flash.c | 4 ++-- drivers/mtd/nand/omap2.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/omap-nand-flash.c b/drivers/mtd/nand/omap-nand-flash.c index a231e18b0d6..fe402794d95 100644 --- a/drivers/mtd/nand/omap-nand-flash.c +++ b/drivers/mtd/nand/omap-nand-flash.c @@ -36,7 +36,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 +76,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; diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 950a4956a7f..3b7307c5f9f 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c @@ -122,7 +122,7 @@ static struct nand_ecclayout omap_hw_eccoob = { struct omap_nand_info { struct nand_hw_control controller; - struct nand_platform_data *pdata; + struct omap_nand_platform_data *pdata; struct mtd_info mtd; struct mtd_partition *parts; struct nand_chip nand; -- 2.41.1