mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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:
parent
b1e3719e65
commit
d62238711a
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
};
|
||||
|
|
|
@ -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),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue