Skip to contentSkip to conversation

clk: oxnas: Add hardware dependencies

PATCH Applied Jean Delvare 3 participants 4 messages Jul 7, 2016 – Jul 12, 2016 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: oxnas: Add hardware dependencies

The clk-oxnas driver is specific to its architecture, so do not propose it on other architectures, unless build-testing.

Cc Neil Armstrong <[email protected]>
Cc Stephen Boyd <[email protected]>
---
 drivers/clk/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/clk/Kconfig +1 -0
@@ -203,6 +203,7 @@ config COMMON_CLK_PIC32
 
 config COMMON_CLK_OXNAS
 	bool "Clock driver for the OXNAS SoC Family"
+	depends on ARCH_OXNAS || COMPILE_TEST
 	select MFD_SYSCON
 	---help---
 	  Support for the OXNAS SoC Family clocks.
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Jean Delvare

The clk-oxnas driver is specific to its architecture, so do not propose it on other architectures, unless build-testing.

Signed-off-by Jean Delvare <[email protected] <javascript:;>>
Cc Neil Armstrong <[email protected] <javascript:;>>
Cc Stephen Boyd <[email protected] <javascript:;>>
---
 drivers/clk/Kconfig |    1 +
 1 file changed, 1 insertion(+)
Signature · 4 lines
Neil Armstrong
Embedded Linux Software Engineer
BayLibre - At the Heart of Embedded Linux
www.baylibre.com
Acked-by on v1 1/1
#2 lore raw
In reply to Jean Delvare
Quoted 15 lines · Jean Delvare

The clk-oxnas driver is specific to its architecture, so do not propose it on other architectures, unless build-testing.

Cc Neil Armstrong <[email protected]>
Cc Stephen Boyd <[email protected]>
---
 drivers/clk/Kconfig |    1 +
 1 file changed, 1 insertion(+)

drivers/clk/Kconfig config COMMON_CLK_PIC32 · line 209

Quoted 7 lines
drivers/clk/Kconfig +1 -0
@@ -203,6 +203,7 @@ config COMMON_CLK_PIC32
 
 config COMMON_CLK_OXNAS
 	bool "Clock driver for the OXNAS SoC Family"
+	depends on ARCH_OXNAS || COMPILE_TEST
 	select MFD_SYSCON
 	---help---
 	  Support for the OXNAS SoC Family clocks.
#3 lore raw
In reply to Jean Delvare

Quoting Jean Delvare (2016-07-07 00:18:44)

Quoted 7 lines

The clk-oxnas driver is specific to its architecture, so do not propose it on other architectures, unless build-testing. =

Cc Neil Armstrong <[email protected]>
Cc Stephen Boyd <[email protected]>

Applied.

Regards,
Mike

Quoted 6 lines
---
 drivers/clk/Kconfig |    1 +
 1 file changed, 1 insertion(+)

=

--- linux-4.7-rc6.orig/drivers/clk/Kconfig 2016-07-04 08:01:00.00000=

0000 +0200

Quoted 1 line

+++ linux-4.7-rc6/drivers/clk/Kconfig 2016-07-07 09:12:17.723329794 +02=

00

Quoted 17 lines
drivers/clk/Kconfig +1 -0
@@ -203,6 +203,7 @@ config COMMON_CLK_PIC32
 =
 
 config COMMON_CLK_OXNAS
        bool "Clock driver for the OXNAS SoC Family"
+       depends on ARCH_OXNAS || COMPILE_TEST
        select MFD_SYSCON
        ---help---

Support for the OXNAS SoC Family clocks.
=

=

-- =

Jean Delvare
SUSE L3 Support