[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>
This commit is contained in:
Haojian Zhuang 2009-11-20 10:57:16 -05:00 committed by Eric Miao
parent b1e3719e65
commit d62238711a
2 changed files with 2 additions and 2 deletions

View 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),
};

View 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),
};