Skip to content

Commit

Permalink
[ARM] pxa: update flash structure in onenand info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed Dec 1, 2009
1 parent b1e3719 commit d622387
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-mmp/ttc_dkb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/saar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand Down

0 comments on commit d622387

Please sign in to comment.