fix flash driver, it should work on RB150 as well

SVN-Revision: 9418
This commit is contained in:
Gabor Juhos
2007-10-23 12:31:13 +00:00
parent ce9584fad9
commit 71f9b205e4
3 changed files with 16 additions and 6 deletions

View File

@@ -39,6 +39,7 @@
struct adm5120_flash_platform_data {
void (*set_vpp)(struct map_info *, int);
void (*switch_bank)(unsigned);
u32 window_size;
#ifdef CONFIG_MTD_PARTITIONS
unsigned int nr_parts;
struct mtd_partition *parts;