]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: keystone: fix compile testing
authorJohan Hovold <johan@kernel.org>
Thu, 27 Nov 2025 13:53:25 +0000 (14:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:55:13 +0000 (13:55 +0100)
[ Upstream commit b276445e98fe28609688fb85b89a81b803910e63 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/Makefile

index fb8878a5d7d93da6bec487460cdf63f1f764a431..db202b614017e92c56cd346760329df7ee5d2c3a 100644 (file)
@@ -106,8 +106,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/