Commit 3272aab9 authored by Dirk Behme's avatar Dirk Behme Committed by Kevin Hilman

ARM: DaVinci: Fix NAND compilation

Fix NAND compilation after update to 2.6.24. nand_platform_data
doesn't exist any more.
Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent 40c0ba86
......@@ -106,7 +106,7 @@ struct mtd_partition davinci_evm_nandflash_partition[] = {
}
};
static struct nand_platform_data davinci_evm_nandflash_data = {
static struct flash_platform_data davinci_evm_nandflash_data = {
.parts = davinci_evm_nandflash_partition,
.nr_parts = ARRAY_SIZE(davinci_evm_nandflash_partition),
};
......
......@@ -474,7 +474,7 @@ static void __devinit nand_davinci_flash_init(void)
*/
int __devinit nand_davinci_probe(struct platform_device *pdev)
{
struct nand_platform_data *pdata = pdev->dev.platform_data;
struct flash_platform_data *pdata = pdev->dev.platform_data;
struct resource *res = pdev->resource;
struct nand_chip *chip;
struct device *dev = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment