Skip to contentSkip to conversation

clk: keystone: fix compile testing

PATCH Applied Johan Hovold 2 participants 2 messages Nov 27, 2025 – Nov 30, 2025 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: keystone: fix compile testing

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")
---
 drivers/clk/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/clk/Makefile +1 -2
index b74a1767ca27..61ec08404442 100644
@@ -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/
Signature · 1 line
2.51.2
maintainer Applied
#1 lore raw

Quoting Johan Hovold (2025-11-27 05:53:25)

Quoted 10 lines

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")

---

Applied to clk-next