Commit d6223871 authored by Haojian Zhuang's avatar Haojian Zhuang Committed by 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: default avatarHaojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent b1e3719e
...@@ -85,7 +85,7 @@ static struct mtd_partition ttc_dkb_onenand_partitions[] = { ...@@ -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, .parts = ttc_dkb_onenand_partitions,
.nr_parts = ARRAY_SIZE(ttc_dkb_onenand_partitions), .nr_parts = ARRAY_SIZE(ttc_dkb_onenand_partitions),
}; };
......
...@@ -545,7 +545,7 @@ static struct mtd_partition saar_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, .parts = saar_onenand_partitions,
.nr_parts = ARRAY_SIZE(saar_onenand_partitions), .nr_parts = ARRAY_SIZE(saar_onenand_partitions),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment