diff options
Diffstat (limited to 'include/nand.h')
-rw-r--r-- | include/nand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/nand.h b/include/nand.h index 80dd6469bc..75c605193a 100644 --- a/include/nand.h +++ b/include/nand.h @@ -31,7 +31,6 @@ unsigned long nand_size(void); #include <linux/compat.h> #include <linux/mtd/mtd.h> -#include <linux/mtd/rawnand.h> int nand_mtd_to_devnum(struct mtd_info *mtd); @@ -39,6 +38,8 @@ int nand_mtd_to_devnum(struct mtd_info *mtd); void board_nand_init(void); int nand_register(int devnum, struct mtd_info *mtd); #else +struct nand_chip; + extern int board_nand_init(struct nand_chip *nand); #endif |