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