From: Boris Brezillon Date: Thu, 6 Sep 2018 22:38:44 +0000 (+0200) Subject: mtd: rawnand: Get rid of the duplicate nand_chip forward declaration X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~6145^2^2~21 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=d16397d57a90d8c35bef3d8104460bf18e111fa7;p=linux.git 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: Boris Brezillon Signed-off-by: Miquel Raynal --- diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 768415ed1159..608279104aae 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -210,9 +210,6 @@ enum nand_ecc_algo { #define NAND_CI_CELLTYPE_MSK 0x0C #define NAND_CI_CELLTYPE_SHIFT 2 -/* Keep gcc happy */ -struct nand_chip; - /* ONFI version bits */ #define ONFI_VERSION_1_0 BIT(1) #define ONFI_VERSION_2_0 BIT(2)