diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2009-11-20 10:57:16 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-11-30 20:02:47 -0500 |
commit | d62238711a0a917ddc6bb47390c7502806c963b1 (patch) | |
tree | a90a3b6181bd8a4ae4d280721c79f599e660bed2 /arch/arm/mach-mmp/ttc_dkb.c | |
parent | b1e3719e655a74065bdc5ddc58d6f1566dfe8138 (diff) |
[ARM] pxa: update flash structure in onenand info
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>
Diffstat (limited to 'arch/arm/mach-mmp/ttc_dkb.c')
-rw-r--r-- | arch/arm/mach-mmp/ttc_dkb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index bb26cb5351df..8f49b2b12608 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c | |||
@@ -85,7 +85,7 @@ static struct mtd_partition ttc_dkb_onenand_partitions[] = { | |||
85 | } | 85 | } |
86 | }; | 86 | }; |
87 | 87 | ||
88 | static struct flash_platform_data ttc_dkb_onenand_info = { | 88 | static struct onenand_platform_data ttc_dkb_onenand_info = { |
89 | .parts = ttc_dkb_onenand_partitions, | 89 | .parts = ttc_dkb_onenand_partitions, |
90 | .nr_parts = ARRAY_SIZE(ttc_dkb_onenand_partitions), | 90 | .nr_parts = ARRAY_SIZE(ttc_dkb_onenand_partitions), |
91 | }; | 91 | }; |