Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[firefly-linux-kernel-4.4.55.git] / drivers / mtd / nand / bcm47xxnflash / bcm47xxnflash.h
1 #ifndef __BCM47XXNFLASH_H
2 #define __BCM47XXNFLASH_H
3
4 #include <linux/mtd/mtd.h>
5 #include <linux/mtd/nand.h>
6
7 struct bcm47xxnflash {
8         struct bcma_drv_cc *cc;
9
10         struct nand_chip nand_chip;
11         struct mtd_info mtd;
12
13         unsigned curr_command;
14         int curr_page_addr;
15         int curr_column;
16
17         u8 id_data[8];
18 };
19
20 int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);
21
22 #endif /* BCM47XXNFLASH */