[PATCH] clk: imx: fix build failure on i.MX SCU clk

Stephen Boyd sboyd at kernel.org
Sat Dec 5 00:41:13 EST 2020

Quoting Arnd Bergmann (2020-12-03 15:07:52)
> From: Arnd Bergmann <arnd at arndb.de>
> When CONFIG_MXC_CLK_SCU is enabled, but CONFIG_CLK_IMX8QXP is not,
> the kernel fails to link with:
> aarch64-linux-ld: no input files
> make[5]: *** [scripts/Makefile.build:434: drivers/clk/imx/clk-imx-scu.o] Error 1
> aarch64-linux-ld: no input files
> make[5]: *** [scripts/Makefile.build:434: drivers/clk/imx/clk-imx-lpcg-scu.o] Error 1
> The only sensible configuration at the moment is to have both mean
> the same thing, so make hide the first one to avoid broken
> configurations.
> Fixes: e0d0d4d86c76 ("clk: imx8qxp: Support building i.MX8QXP clock driver as module")
> Reported-by: Anders Roxell <anders.roxell at linaro.org>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Dong sent something similar at

More information about the linux-arm-kernel mailing list