forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm/mach-omap1/common.h
....@@ -26,7 +26,6 @@
2626 #ifndef __ARCH_ARM_MACH_OMAP1_COMMON_H
2727 #define __ARCH_ARM_MACH_OMAP1_COMMON_H
2828
29
-#include <linux/mtd/mtd.h>
3029 #include <linux/platform_data/i2c-omap.h>
3130 #include <linux/reboot.h>
3231
....@@ -82,7 +81,8 @@
8281
8382 extern void __init omap_check_revision(void);
8483
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,
8686 unsigned int ctrl);
8787
8888 extern void omap1_timer_init(void);