Skip to contentSkip to conversation

clk: sunxi-ng: Add machine dependency to A83T CCU

PATCH Applied Samuel Holland 2 participants 2 messages Sep 2, 2021 – Sep 3, 2021

Subsystems (2)
lore
Share & tools
lore

Samuel Holland

author maintainer
#0 lore raw

PATCH 1/1 clk: sunxi-ng: Add machine dependency to A83T CCU

The CCUs for all other 32-bit SoCs have a dependency on a specific MACH_SUNxI symbol. This effectively hides these drivers when building an ARCH=arm64 kernel. However, the A83T CCU still shows up because it is missing this dependency. Let's add it for consistency.

---
 drivers/clk/sunxi-ng/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/Kconfig +1 -0
index cd46d8853876..e76e1676f0f0 100644
@@ -71,6 +71,7 @@ config SUN8I_A33_CCU
 config SUN8I_A83T_CCU
 	bool "Support for the Allwinner A83T CCU"
 	default MACH_SUN8I
+	depends on MACH_SUN8I || COMPILE_TEST
 
 config SUN8I_H3_CCU
 	bool "Support for the Allwinner H3 CCU"
Signature · 1 line
2.31.1
#1 lore raw
Quoted 6 lines · Samuel Holland

The CCUs for all other 32-bit SoCs have a dependency on a specific MACH_SUNxI symbol. This effectively hides these drivers when building an ARCH=arm64 kernel. However, the A83T CCU still shows up because it is missing this dependency. Let's add it for consistency.

Applied, thanks
Maxime