Skip to content

Commit 1c3ab61

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
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 <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 707329a commit 1c3ab61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/mtd/rawnand.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
#include <linux/mtd/mtd.h>
2222
#include <linux/mtd/flashchip.h>
2323
#include <linux/mtd/bbm.h>
24+
#include <linux/of.h>
2425
#include <linux/types.h>
2526

2627
struct nand_flash_dev;
27-
struct device_node;
2828

2929
/* Scan and identify a NAND device */
3030
int nand_scan_with_ids(struct mtd_info *mtd, int max_chips,

0 commit comments

Comments
 (0)