[PATCH] [ARM] pxa: update flash structure in onenand info
Haojian Zhuang
haojian.zhuang at marvell.com
Fri Nov 20 10:57:16 EST 2009
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 at marvell.com>
---
arch/arm/mach-mmp/ttc_dkb.c | 2 +-
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 bb26cb5..8f49b2b 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[] = {
}
};
-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),
};
diff --git a/arch/arm/mach-pxa/saar.c b/arch/arm/mach-pxa/saar.c
index 55c5e3a..465b51a 100644
--- a/arch/arm/mach-pxa/saar.c
+++ b/arch/arm/mach-pxa/saar.c
@@ -540,7 +540,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),
};
--
1.5.6.5
--0016363b7984f612e20478c90646
Content-Type: text/x-patch; charset=US-ASCII;
name="0001--ARM-pxa-update-flash-structure-in-onenand-info.patch"
Content-Disposition: attachment;
filename="0001--ARM-pxa-update-flash-structure-in-onenand-info.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g294zp0p0
RnJvbSAxMGJjYTg3NjM1NDU4ZDUwODQzYWIyNjY5MzcyZDBmNTNiY2QxMzI1IE1vbiBTZXAgMTcg
MDA6MDA6MDAgM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