Commit d16397d5 authored by Boris Brezillon's avatar Boris Brezillon Committed by Miquel Raynal

mtd: rawnand: Get rid of the duplicate nand_chip forward declaration

There's already a forward declaration of nand_chip at the beginning of
the file. Get rid of this one.
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 394938ea
...@@ -210,9 +210,6 @@ enum nand_ecc_algo { ...@@ -210,9 +210,6 @@ enum nand_ecc_algo {
#define NAND_CI_CELLTYPE_MSK 0x0C #define NAND_CI_CELLTYPE_MSK 0x0C
#define NAND_CI_CELLTYPE_SHIFT 2 #define NAND_CI_CELLTYPE_SHIFT 2
/* Keep gcc happy */
struct nand_chip;
/* ONFI version bits */ /* ONFI version bits */
#define ONFI_VERSION_1_0 BIT(1) #define ONFI_VERSION_1_0 BIT(1)
#define ONFI_VERSION_2_0 BIT(2) #define ONFI_VERSION_2_0 BIT(2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment