diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mmp/ttc_dkb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/saar.c | 2 |
2 files changed, 2 insertions, 2 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 | }; |
diff --git a/arch/arm/mach-pxa/saar.c b/arch/arm/mach-pxa/saar.c index 926258703deb..3cccb085b979 100644 --- a/arch/arm/mach-pxa/saar.c +++ b/arch/arm/mach-pxa/saar.c | |||
@@ -545,7 +545,7 @@ static struct mtd_partition saar_onenand_partitions[] = { | |||
545 | } | 545 | } |
546 | }; | 546 | }; |
547 | 547 | ||
548 | static struct flash_platform_data saar_onenand_info = { | 548 | static struct onenand_platform_data saar_onenand_info = { |
549 | .parts = saar_onenand_partitions, | 549 | .parts = saar_onenand_partitions, |
550 | .nr_parts = ARRAY_SIZE(saar_onenand_partitions), | 550 | .nr_parts = ARRAY_SIZE(saar_onenand_partitions), |
551 | }; | 551 | }; |