summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@marvell.com>2009-11-20 18:57:16 +0300
committerEric Miao <eric.y.miao@gmail.com>2009-12-01 04:02:47 +0300
commitd62238711a0a917ddc6bb47390c7502806c963b1 (patch)
treea90a3b6181bd8a4ae4d280721c79f599e660bed2 /arch/arm/mach-pxa
parentb1e3719e655a74065bdc5ddc58d6f1566dfe8138 (diff)
downloadlinux-d62238711a0a917ddc6bb47390c7502806c963b1.tar.xz
[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-pxa')
-rw-r--r--arch/arm/mach-pxa/saar.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
}
};
-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),
};