diff mbox

clk: oxnas: Add hardware dependencies

Message ID 20160707091844.196a7930@endymion (mailing list archive)
State Accepted, archived
Delegated to: Michael Turquette
Headers show

Commit Message

Jean Delvare July 7, 2016, 7:18 a.m. UTC
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 <jdelvare@suse.de>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/clk/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Neil Armstrong July 10, 2016, 9:35 a.m. UTC | #1
On 07/07/2016 09:18 AM, Jean Delvare wrote:
> 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 <jdelvare@suse.de>
> Cc: Neil Armstrong <narmstrong@baylibre.com>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> ---
>  drivers/clk/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-4.7-rc6.orig/drivers/clk/Kconfig	2016-07-04 08:01:00.000000000 +0200
> +++ linux-4.7-rc6/drivers/clk/Kconfig	2016-07-07 09:12:17.723329794 +0200
> @@ -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.
> 
> 

Acked-by: Neil Armstrong <narmstrong@baylibre.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Michael Turquette July 12, 2016, 10:31 p.m. UTC | #2
Quoting Jean Delvare (2016-07-07 00:18:44)
> 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 <jdelvare@suse.de>
> Cc: Neil Armstrong <narmstrong@baylibre.com>
> Cc: Stephen Boyd <sboyd@codeaurora.org>

Applied.

Regards,
Mike

> ---
>  drivers/clk/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-4.7-rc6.orig/drivers/clk/Kconfig      2016-07-04 08:01:00.000000000 +0200
> +++ linux-4.7-rc6/drivers/clk/Kconfig   2016-07-07 09:12:17.723329794 +0200
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-4.7-rc6.orig/drivers/clk/Kconfig	2016-07-04 08:01:00.000000000 +0200
+++ linux-4.7-rc6/drivers/clk/Kconfig	2016-07-07 09:12:17.723329794 +0200
@@ -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.