Linux 3.11-rc3
[cris-mirror.git] / drivers / mtd / nand / bcm47xxnflash / bcm47xxnflash.h
blobc005a62330b14f5444a6d5d5e65961fa27e6ce31
1 #ifndef __BCM47XXNFLASH_H
2 #define __BCM47XXNFLASH_H
4 #ifndef pr_fmt
5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
6 #endif
8 #include <linux/mtd/mtd.h>
9 #include <linux/mtd/nand.h>
11 struct bcm47xxnflash {
12 struct bcma_drv_cc *cc;
14 struct nand_chip nand_chip;
15 struct mtd_info mtd;
17 unsigned curr_command;
18 int curr_page_addr;
19 int curr_column;
21 u8 id_data[8];
24 int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);
26 #endif /* BCM47XXNFLASH */