aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-09-07 00:38:43 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-10-03 11:12:25 +0200
commit394938eadff2b875c099529452ffb7f7303f1547 (patch)
tree876d3bfe976a6b5ced6cf5a899e9e1722bc56abe /include/linux/mtd
parentmtd: rawnand: Move function prototypes after struct declarations (diff)
downloadlinux-dev-394938eadff2b875c099529452ffb7f7303f1547.tar.xz
linux-dev-394938eadff2b875c099529452ffb7f7303f1547.zip
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 <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/rawnand.h1
1 files changed, 0 insertions, 1 deletions
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 <linux/types.h>
struct nand_chip;
-struct nand_flash_dev;
/* The maximum number of NAND chips in an array */
#define NAND_MAX_CHIPS 8