summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-11-12 16:03:21 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-22 11:32:34 +0400
commita5401370c520d573e9d62b3f8f34940c3b798a49 (patch)
tree931764e13b4176a77a5dac2b9cca1c474bd22a12 /drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h
parent8d4b9e3182634d8b5afb5a144a8c6c24b187bcc1 (diff)
downloadlinux-a5401370c520d573e9d62b3f8f34940c3b798a49.tar.xz
mtd: prepare place for BCMA NAND flash driver(s)
BCMA bus can contain NAND flash memory, it's registered in system as platform device. This adds required hooks and place for controler specific drivers. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h')
-rw-r--r--drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h b/drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h
new file mode 100644
index 000000000000..2e8864a891e2
--- /dev/null
+++ b/drivers/mtd/nand/bcm47xxnflash/bcm47xxnflash.h
@@ -0,0 +1,14 @@
+#ifndef __BCM47XXNFLASH_H
+#define __BCM47XXNFLASH_H
+
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/nand.h>
+
+struct bcm47xxnflash {
+ struct bcma_drv_cc *cc;
+
+ struct nand_chip nand_chip;
+ struct mtd_info mtd;
+};
+
+#endif /* BCM47XXNFLASH */