Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / mtd / nand / raw / bcm47xxnflash / bcm47xxnflash.h
blob201b9baa52a00642ca8823f6f8cf511d06a5923d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __BCM47XXNFLASH_H
3 #define __BCM47XXNFLASH_H
5 #ifndef pr_fmt
6 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
7 #endif
9 #include <linux/mtd/mtd.h>
10 #include <linux/mtd/rawnand.h>
12 struct bcm47xxnflash {
13 struct bcma_drv_cc *cc;
15 struct nand_chip nand_chip;
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 */