summaryrefslogtreecommitdiffstats
path: root/include/linux/bcma/bcma_driver_chipcommon.h
diff options
context:
space:
mode:
authorRafał Miłecki2012-09-17 11:50:49 +0200
committerDavid Woodhouse2012-09-29 16:39:12 +0200
commit5fe42d5bf2deac62bf2a532b30deacc007805b91 (patch)
tree132adb87be3fb0437fbca0a4a4afa32888f77ac7 /include/linux/bcma/bcma_driver_chipcommon.h
parentMerge commit '371a00448f95adaa612cf1a0b31a11e7093bc706' of 'git://git.kernel.... (diff)
downloadkernel-qcow2-linux-5fe42d5bf2deac62bf2a532b30deacc007805b91.tar.gz
kernel-qcow2-linux-5fe42d5bf2deac62bf2a532b30deacc007805b91.tar.xz
kernel-qcow2-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/bcma_driver_chipcommon.h')
-rw-r--r--include/linux/bcma/bcma_driver_chipcommon.h2
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