[PATCH] clk: keystone: fix compile testing

Johan Hovold posted 1 patch 4 days, 7 hours ago
drivers/clk/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] clk: keystone: fix compile testing
Posted by Johan Hovold 4 days, 7 hours ago
Some keystone clock drivers can be selected when COMPILE_TEST is
enabled but since commit b745c0794e2f ("clk: keystone: Add sci-clk
driver support") they are never actually built.

Enable compile testing by allowing the build system to process the
keystone drivers.

Fixes: b745c0794e2f ("clk: keystone: Add sci-clk driver support")
Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/clk/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index b74a1767ca27..61ec08404442 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -125,8 +125,7 @@ obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
 obj-y					+= imgtec/
 obj-y					+= imx/
 obj-y					+= ingenic/
-obj-$(CONFIG_ARCH_K3)			+= keystone/
-obj-$(CONFIG_ARCH_KEYSTONE)		+= keystone/
+obj-y					+= keystone/
 obj-y					+= mediatek/
 obj-$(CONFIG_ARCH_MESON)		+= meson/
 obj-y					+= microchip/
-- 
2.51.2
Re: [PATCH] clk: keystone: fix compile testing
Posted by Stephen Boyd 1 day, 1 hour ago
Quoting Johan Hovold (2025-11-27 05:53:25)
> Some keystone clock drivers can be selected when COMPILE_TEST is
> enabled but since commit b745c0794e2f ("clk: keystone: Add sci-clk
> driver support") they are never actually built.
> 
> Enable compile testing by allowing the build system to process the
> keystone drivers.
> 
> Fixes: b745c0794e2f ("clk: keystone: Add sci-clk driver support")
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---

Applied to clk-next