diff mbox series

[-next] ARM: OMAP2+: Remove obsoleted declaration for gpmc_onenand_init

Message ID 20240826035823.4043171-1-cuigaosheng1@huawei.com
State New
Headers show
Series [-next] ARM: OMAP2+: Remove obsoleted declaration for gpmc_onenand_init | expand

Commit Message

Gaosheng Cui Aug. 26, 2024, 3:58 a.m. UTC
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 <cuigaosheng1@huawei.com>
---
 include/linux/omap-gpmc.h | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Kevin Hilman Aug. 30, 2024, 6:05 p.m. UTC | #1
On Mon, 26 Aug 2024 11:58:23 +0800, Gaosheng Cui wrote:
> The gpmc_onenand_init() have been removed since
> commit 2514830b8b8c ("ARM: OMAP2+: Remove gpmc-onenand"), and now
> it is useless, so remove it.
> 
> 

Applied, thanks!

[1/1] ARM: OMAP2+: Remove obsoleted declaration for gpmc_onenand_init
      commit: 9aee8262445d185960431e972e2d997e6aba3de0

Best regards,
diff mbox series

Patch

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