aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/bcm47xxsflash.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-01-06 21:28:50 +0100
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-02-04 09:26:30 +0200
commita2f74a7dacc1c17a0b146eb3112217874c5db436 (patch)
treec745afac1c501aefd47b60e85cbc0d3912c9ee4b /drivers/mtd/devices/bcm47xxsflash.h
parent396afe553bd607dca4d28b00b6cab2ea826acba2 (diff)
mtd: bcm47xxsflash: add own struct for abstrating bus type
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Diffstat (limited to 'drivers/mtd/devices/bcm47xxsflash.h')
-rw-r--r--drivers/mtd/devices/bcm47xxsflash.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/mtd/devices/bcm47xxsflash.h b/drivers/mtd/devices/bcm47xxsflash.h
new file mode 100644
index 00000000000..ebf6f710e23
--- /dev/null
+++ b/drivers/mtd/devices/bcm47xxsflash.h
@@ -0,0 +1,15 @@
+#ifndef __BCM47XXSFLASH_H
+#define __BCM47XXSFLASH_H
+
+#include <linux/mtd/mtd.h>
+
+struct bcm47xxsflash {
+ u32 window;
+ u32 blocksize;
+ u16 numblocks;
+ u32 size;
+
+ struct mtd_info mtd;
+};
+
+#endif /* BCM47XXSFLASH */