mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08: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
@ -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 New Issue
Block a user