[ARM] pxa: update flash structure in onenand info
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 20 Nov 2009 15:57:16 +0000 (10:57 -0500)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:47 +0000 (09:02 +0800)
Since flash structure is changed from flash_platform_data to
onenand_platform_data in generic driver. Update the struct in saar
and ttc platform driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/ttc_dkb.c
arch/arm/mach-pxa/saar.c

index bb26cb5351df71c01373b8ce717d4ea266eae2b5..8f49b2b12608934d96d6b2d894c79e80cf01120e 100644 (file)
@@ -85,7 +85,7 @@ static struct mtd_partition ttc_dkb_onenand_partitions[] = {
        }
 };
 
-static struct flash_platform_data ttc_dkb_onenand_info = {
+static struct onenand_platform_data ttc_dkb_onenand_info = {
        .parts          = ttc_dkb_onenand_partitions,
        .nr_parts       = ARRAY_SIZE(ttc_dkb_onenand_partitions),
 };
index 926258703deb5a41a947d2b701a678e2c11a1868..3cccb085b979f426898479588a6a2d16f703c796 100644 (file)
@@ -545,7 +545,7 @@ static struct mtd_partition saar_onenand_partitions[] = {
        }
 };
 
-static struct flash_platform_data saar_onenand_info = {
+static struct onenand_platform_data saar_onenand_info = {
        .parts          = saar_onenand_partitions,
        .nr_parts       = ARRAY_SIZE(saar_onenand_partitions),
 };