summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-03-07 09:43:13 -0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-04-24 16:56:13 +0200
commitf68a40ee4732731f149961abab27a45b6c11f413 (patch)
treef8d992f78cc16ed3057240eeadc2952cae71331f /include/soc
parent49d576ea72a4fa5be15717babfa308b70b2bc5a4 (diff)
downloadlwn-f68a40ee4732731f149961abab27a45b6c11f413.tar.gz
lwn-f68a40ee4732731f149961abab27a45b6c11f413.zip
clocksource/drivers/timer-imx-gpt: Remove non-DT function
mxc_timer_init() was originally only used by non-DT i.MX platforms. i.MX has already been converted to be a DT-only platform. Remove the unused mxc_timer_init() function. Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230307124313.708255-1-festevam@denx.de
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/imx/timer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/soc/imx/timer.h b/include/soc/imx/timer.h
index b888d5076b4d..25f29c6bbd0b 100644
--- a/include/soc/imx/timer.h
+++ b/include/soc/imx/timer.h
@@ -13,11 +13,4 @@ enum imx_gpt_type {
GPT_TYPE_IMX6DL, /* i.MX6DL/SX/SL */
};
-/*
- * This is a stop-gap solution for clock drivers like imx1/imx21 which call
- * mxc_timer_init() to initialize timer for non-DT boot. It can be removed
- * when these legacy non-DT support is converted or dropped.
- */
-void mxc_timer_init(unsigned long pbase, int irq, enum imx_gpt_type type);
-
#endif /* __SOC_IMX_TIMER_H__ */