From: Pengfei Li Date: Wed, 23 Oct 2024 18:46:47 +0000 (-0700) Subject: clk: imx93: Move IMX93_CLK_END macro to clk driver X-Git-Tag: v6.13-rc1~110^2~1^4^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0af18ba60752e8a4ba34404c1d9a4a799da690f5;p=thirdparty%2Fkernel%2Flinux.git clk: imx93: Move IMX93_CLK_END macro to clk driver IMX93_CLK_END was previously defined in imx93-clock.h to indicate the number of clocks. However, it is not part of the ABI. For starters it does no really appear in DTS. But what's more important - new clocks are described later, which contradicts this define in binding header. So move this macro to clock driver. Signed-off-by: Pengfei Li Reviewed-by: Abel Vesa Link: https://lore.kernel.org/r/20241023184651.381265-2-pengfei.li_1@nxp.com Signed-off-by: Abel Vesa --- diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index c6a9bc8ecc1fc..c8b65146e76ea 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -15,6 +15,8 @@ #include "clk.h" +#define IMX93_CLK_END 202 + enum clk_sel { LOW_SPEED_IO_SEL, NON_IO_SEL,