Skip to contentSkip to conversation

clk: hisilicon: fix compile testing

PATCH New Peter Novak 1 participant 1 message Nov 30, 2025 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: hisilicon: fix compile testing

The hisilicon clock drivers can be selected when COMPILE_TEST is enabled but they are never actually built because the Makefile guards the subdirectory with CONFIG_ARCH_HISI.

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

---
 drivers/clk/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/Makefile +1 -1
index b74a1767c..b1452489d 100644
@@ -121,7 +121,7 @@ obj-$(CONFIG_CLK_BAIKAL_T1)		+= baikal-t1/
 obj-y					+= bcm/
 obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
 obj-$(CONFIG_ARCH_DAVINCI)		+= davinci/
-obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
+obj-y					+= hisilicon/
 obj-y					+= imgtec/
 obj-y					+= imx/
 obj-y					+= ingenic/
Signature · 1 line
2.51.0