mtd: rawnand: Remove forward declaration of mtd_info
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 10:27:28 +0000 (12:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:34:21 +0000 (09:34 +0200)
struct mtd_info is defined in linux/mtd/mtd.h which is included
at the beginning of nand_base.c, there's thus no need for the
forward declaration of mtd_info.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/rawnand.h

index 4d7a46c42900f3bdf3381e25c0bd1f26a4794b0f..32145b3025856a2f06d1137db641679dacbd2435 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/mtd/bbm.h>
 #include <linux/types.h>
 
-struct mtd_info;
 struct nand_flash_dev;
 struct device_node;