aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaosheng Cui <[email protected]>2024-08-26 11:58:23 +0800
committerKevin Hilman <[email protected]>2024-08-30 10:57:24 -0700
commit9aee8262445d185960431e972e2d997e6aba3de0 (patch)
treee1fb662a45310a381e23edb30e210f413ad641c8
parenta80a3d92dc600fed760edb8a633ea80712faaf98 (diff)
ARM: OMAP2+: Remove obsoleted declaration for gpmc_onenand_init
The gpmc_onenand_init() have been removed since commit 2514830b8b8c ("ARM: OMAP2+: Remove gpmc-onenand"), and now it is useless, so remove it. Signed-off-by: Gaosheng Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kevin Hilman <[email protected]>
-rw-r--r--include/linux/omap-gpmc.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/omap-gpmc.h b/include/linux/omap-gpmc.h
index 082841908fe7..c9e3843d2dd5 100644
--- a/include/linux/omap-gpmc.h
+++ b/include/linux/omap-gpmc.h
@@ -84,13 +84,3 @@ extern void gpmc_read_settings_dt(struct device_node *np,
struct gpmc_timings;
struct omap_nand_platform_data;
struct omap_onenand_platform_data;
-
-#if IS_ENABLED(CONFIG_MTD_ONENAND_OMAP2)
-extern int gpmc_onenand_init(struct omap_onenand_platform_data *d);
-#else
-#define board_onenand_data NULL
-static inline int gpmc_onenand_init(struct omap_onenand_platform_data *d)
-{
- return 0;
-}
-#endif