diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2017-02-21 12:44:45 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-02-28 20:08:33 +0300 |
commit | ac28e47ccc3ff8dabce1aec6b224760c3e524044 (patch) | |
tree | 167e6e59a784c3536eeea9b2b03c19a632c05399 /include/linux/omap-gpmc.h | |
parent | 7807e086a2d1f69cc1a57958cac04fea79fc2112 (diff) | |
download | linux-ac28e47ccc3ff8dabce1aec6b224760c3e524044.tar.xz |
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.h | 11 |
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 |