diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2012-09-17 11:50:49 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 15:39:12 +0100 |
commit | 5fe42d5bf2deac62bf2a532b30deacc007805b91 (patch) | |
tree | 132adb87be3fb0437fbca0a4a4afa32888f77ac7 /include/linux/bcma | |
parent | 6997af7cee305bb9fc77260e84de94bfd486f7af (diff) | |
download | talos-op-linux-5fe42d5bf2deac62bf2a532b30deacc007805b91.tar.gz talos-op-linux-5fe42d5bf2deac62bf2a532b30deacc007805b91.zip |
mtd: basic (read only) driver for BCMA serial flash
This registers MTD driver for serial flash platform device. Right now it
supports reading only, writing still has to be implemented.
Artem: minor amendments.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/bcma')
-rw-r--r-- | include/linux/bcma/bcma_driver_chipcommon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index 6ba45d2b99db..1cf1749440ac 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h @@ -522,6 +522,8 @@ struct bcma_sflash { u32 blocksize; u16 numblocks; u32 size; + + struct mtd_info *mtd; }; #endif |