Skip to contentSkip to conversation

clk: sunxi-ng: Add hardware dependency

PATCH Superseded Jean Delvare 2 participants 3 messages Sep 8, 2016

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: sunxi-ng: Add hardware dependency

The sunxi-ng clock driver is useless for other architectures.

Cc Maxime Ripard <[email protected]>
Cc Michael Turquette <[email protected]>
---
 drivers/clk/sunxi-ng/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/sunxi-ng/Kconfig +1 -1
@@ -1,6 +1,6 @@
 config SUNXI_CCU
 	bool "Clock support for Allwinner SoCs"
-	default ARCH_SUNXI
+	depends on ARCH_SUNXI || COMPILE_TEST
 
 if SUNXI_CCU
 
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 12 lines · Jean Delvare

The sunxi-ng clock driver is useless for other architectures.

Cc Maxime Ripard <[email protected]>
Cc Michael Turquette <[email protected]>
---
 drivers/clk/sunxi-ng/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/clk/sunxi-ng/Kconfig line 3

Quoted 4 lines
drivers/clk/sunxi-ng/Kconfig +1 -1
@@ -1,6 +1,6 @@
 config SUNXI_CCU
 	bool "Clock support for Allwinner SoCs"
-	default ARCH_SUNXI
+	depends on ARCH_SUNXI || COMPILE_TEST

Please leave the default there and just add the depends and compile test part.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#2 lore raw
Quoted 10 lines · Stephen Boyd
Quoted 9 lines · Jean Delvare

The sunxi-ng clock driver is useless for other architectures.

Cc Maxime Ripard <[email protected]>
Cc Michael Turquette <[email protected]>
---
 drivers/clk/sunxi-ng/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 10 lines

drivers/clk/sunxi-ng/Kconfig line 3

Quoted 7 lines
drivers/clk/sunxi-ng/Kconfig +1 -1
@@ -1,6 +1,6 @@
 config SUNXI_CCU
 	bool "Clock support for Allwinner SoCs"
-	default ARCH_SUNXI
+	depends on ARCH_SUNXI || COMPILE_TEST

Please leave the default there and just add the depends and compile test part.

Yes, makes sense sorry. Will send v2 shortly.

Thanks for the review,

Signature · 2 lines
Jean Delvare
SUSE L3 Support