Commit 9aee8262 authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Kevin Hilman
Browse files

ARM: OMAP2+: Remove obsoleted declaration for gpmc_onenand_init



The gpmc_onenand_init() have been removed since
commit 2514830b ("ARM: OMAP2+: Remove gpmc-onenand"), and now
it is useless, so remove it.

Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Link: https://lore.kernel.org/r/20240826035823.4043171-1-cuigaosheng1@huawei.com


Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent a80a3d92
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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