From: Boris Brezillon Date: Thu, 5 Jul 2018 10:27:29 +0000 (+0200) Subject: mtd: rawnand: Remove forward declaration of device_node X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1c3ab61ebcf8cfb5308d2e68e03fd4b4df484e62;p=openwrt%2Fstaging%2Fblogic.git mtd: rawnand: Remove forward declaration of device_node 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 Signed-off-by: Miquel Raynal --- diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index 32145b302585..83ab6779144e 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -21,10 +21,10 @@ #include #include #include +#include #include 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,