summaryrefslogtreecommitdiff
path: root/include/linux/omap-gpmc.h
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2017-02-21 10:44:45 +0100
committerTony Lindgren <tony@atomide.com>2017-02-28 09:08:33 -0800
commitac28e47ccc3ff8dabce1aec6b224760c3e524044 (patch)
tree167e6e59a784c3536eeea9b2b03c19a632c05399 /include/linux/omap-gpmc.h
parent7807e086a2d1f69cc1a57958cac04fea79fc2112 (diff)
ARM: OMAP2+: Remove legacy gpmc-nand.c
This code is no longer used and can be removed as we are using device tree. Removing this code also removes a dependency between drivers/mtd and arch/arm/mach-omap2 making furhter driver changes easier. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> [tony@atomide.com: removed from header too, updated comments] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/omap-gpmc.h')
-rw-r--r--include/linux/omap-gpmc.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/omap-gpmc.h b/include/linux/omap-gpmc.h
index e821a3132a3e..fd0de00c0d77 100644
--- a/include/linux/omap-gpmc.h
+++ b/include/linux/omap-gpmc.h
@@ -76,17 +76,6 @@ struct gpmc_timings;
struct omap_nand_platform_data;
struct omap_onenand_platform_data;
-#if IS_ENABLED(CONFIG_MTD_NAND_OMAP2)
-extern int gpmc_nand_init(struct omap_nand_platform_data *d,
- struct gpmc_timings *gpmc_t);
-#else
-static inline int gpmc_nand_init(struct omap_nand_platform_data *d,
- struct gpmc_timings *gpmc_t)
-{
- return 0;
-}
-#endif
-
#if IS_ENABLED(CONFIG_MTD_ONENAND_OMAP2)
extern int gpmc_onenand_init(struct omap_onenand_platform_data *d);
#else