[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DU0PR04MB94178847ACC8BC6E5D1ADBDF88109@DU0PR04MB9417.eurprd04.prod.outlook.com>
Date: Tue, 15 Mar 2022 08:26:43 +0000
From: Peng Fan <peng.fan@....com>
To: Abel Vesa <abel.vesa@....com>,
Mike Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
CC: Pengutronix Kernel Team <kernel@...gutronix.de>,
dl-linux-imx <linux-imx@....com>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kernel test robot <lkp@...el.com>
Subject: RE: [PATCH] clk: imx: Select MXC_CLK for i.MX93 clock driver
> Subject: [PATCH] clk: imx: Select MXC_CLK for i.MX93 clock driver
>
> Most of the i.MX clock generic API is built by selecting MXC_CLK.
> Without it, the i.MX93 clock driver will fail to build:
>
> aarch64-linux-gnu-ld: drivers/clk/imx/clk-imx93.o:
> in function `imx93_clocks_probe': clk-imx93.c:(.text+0xa8):
> undefined reference to `imx_obtain_fixed_clk_hw'
>
> So fix this by selecting MXC_CLK for the CLK_IMX93.
>
> Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk")
> Signed-off-by: Abel Vesa <abel.vesa@....com>
> Reported-by: kernel test robot <lkp@...el.com>
Reviewed-by: Peng Fan <peng.fan@....com>
> ---
> drivers/clk/imx/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index
> cc464a42d646..25785ec9c276 100644
> --- a/drivers/clk/imx/Kconfig
> +++ b/drivers/clk/imx/Kconfig
> @@ -109,6 +109,7 @@ config CLK_IMX8ULP
> config CLK_IMX93
> tristate "IMX93 CCM Clock Driver"
> depends on ARCH_MXC || COMPILE_TEST
> + select MXC_CLK
> help
> Build the driver for i.MX93 CCM Clock Driver
>
> --
> 2.34.1
Powered by blists - more mailing lists