提交 d6223871 编写于 作者: H Haojian Zhuang 提交者: Eric Miao

[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: NHaojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 b1e3719e
......@@ -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),
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册