]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: keystone: fix compile testing
authorJohan Hovold <johan@kernel.org>
Thu, 27 Nov 2025 13:53:25 +0000 (14:53 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sun, 30 Nov 2025 20:06:21 +0000 (12:06 -0800)
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>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/Makefile

index b74a1767ca2787a978db36b0055ea34cb909310e..61ec08404442b4715dc84a563b3330cb5169f8b2 100644 (file)
@@ -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/