kernel/arch/arm/mach-omap1/common.h
.. .. @@ -26,7 +26,6 @@ 26 26 #ifndef __ARCH_ARM_MACH_OMAP1_COMMON_H 27 27 #define __ARCH_ARM_MACH_OMAP1_COMMON_H 28 28 29 -#include <linux/mtd/mtd.h>30 29 #include <linux/platform_data/i2c-omap.h> 31 30 #include <linux/reboot.h> 32 31 .. .. @@ -82,7 +81,8 @@ 82 81 83 82 extern void __init omap_check_revision(void); 84 83 85 -extern void omap1_nand_cmd_ctl(struct mtd_info *mtd, int cmd,84 +struct nand_chip;85 +extern void omap1_nand_cmd_ctl(struct nand_chip *this, int cmd,86 86 unsigned int ctrl); 87 87 88 88 extern void omap1_timer_init(void);