# \[PATCH 11/19\] mtd: rawnand: Get rid of nand\_flash\_dev forward declation

- From: Boris Brezillon \<hidden\>
- Date: 2018-09-06 22:39:12 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2018/09/8522858
- Thread: https://ratatoskr.run/linux-doc/2018/09/8522852/t.md

```text
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 <redacted>
---
 include/linux/mtd/rawnand.h | 1 -
 1 file changed, 1 deletion(-)

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
-- 
2.14.1

```
