mtd: rawnand: Remove forward declaration of device_node
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 10:27:29 +0000 (12:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:34:21 +0000 (09:34 +0200)
struct device_node is defined in linux/of.h. Let's include this file
instead of having a forward declaration of this struct.

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

index 32145b3025856a2f06d1137db641679dacbd2435..83ab6779144ecfda19d84b87ba8478a83df1eba9 100644 (file)
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/flashchip.h>
 #include <linux/mtd/bbm.h>
+#include <linux/of.h>
 #include <linux/types.h>
 
 struct nand_flash_dev;
-struct device_node;
 
 /* Scan and identify a NAND device */
 int nand_scan_with_ids(struct mtd_info *mtd, int max_chips,