clk: keystone: fix compile testing
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")
Signed-off-by Johan Hovold <[email protected]>
--- drivers/clk/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/clk/Makefile +1 -2
@@ -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
Quoting Johan Hovold (2025-11-27 05:53:25)
Quoted 10 lines
Some keystone clock drivers can be selected when
COMPILE_TESTis enabled but since commitb745c0794e2f("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 <[email protected]>---
Applied to clk-next