diff mbox

[v2] clk: sunxi-ng: Add hardware dependency

Message ID 20160908232829.07adc10b@endymion (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Jean Delvare Sept. 8, 2016, 9:28 p.m. UTC
The sunxi-ng clock driver is useless for other architectures.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Michael Turquette <mturquette@baylibre.com>
---
Changes since v1:
 * Leave default in place (suggested by Stephen Boyd.)

 drivers/clk/sunxi-ng/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Comments

Stephen Boyd Sept. 9, 2016, 1:16 a.m. UTC | #1
On 09/08, Jean Delvare wrote:
> The sunxi-ng clock driver is useless for other architectures.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Cc: Michael Turquette <mturquette@baylibre.com>
> ---

Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Maxime Ripard Sept. 9, 2016, 7:08 p.m. UTC | #2
On Thu, Sep 08, 2016 at 11:28:29PM +0200, Jean Delvare wrote:
> The sunxi-ng clock driver is useless for other architectures.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Cc: Michael Turquette <mturquette@baylibre.com>

Applied, thanks!
Maxime
diff mbox

Patch

--- linux-4.8-rc5.orig/drivers/clk/sunxi-ng/Kconfig	2016-09-04 23:31:46.000000000 +0200
+++ linux-4.8-rc5/drivers/clk/sunxi-ng/Kconfig	2016-09-08 21:51:36.600085604 +0200
@@ -1,5 +1,6 @@ 
 config SUNXI_CCU
 	bool "Clock support for Allwinner SoCs"
+	depends on ARCH_SUNXI || COMPILE_TEST
 	default ARCH_SUNXI
 
 if SUNXI_CCU