From: Boris Brezillon Date: Thu, 6 Sep 2018 22:38:43 +0000 (+0200) Subject: mtd: rawnand: Get rid of nand_flash_dev forward declation X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~6145^2^2~22 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=394938eadff2b875c099529452ffb7f7303f1547;p=linux.git mtd: rawnand: Get rid of nand_flash_dev forward declation nand_scan[with_ids]() have been moved at the end of the file. We can now get rid of of the nand_flash_dev forward declaration. 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 15183b73fed2..768415ed1159 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -25,7 +25,6 @@ #include struct nand_chip; -struct nand_flash_dev; /* The maximum number of NAND chips in an array */ #define NAND_MAX_CHIPS 8