clk: sunxi-ng: Add hardware dependency
authorJean Delvare <jdelvare@suse.de>
Thu, 8 Sep 2016 21:28:29 +0000 (23:28 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 10 Sep 2016 09:41:21 +0000 (11:41 +0200)
The sunxi-ng clock driver is useless for other architectures.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/Kconfig

index 90fd1e4f704274f424fa0d912dc254fa22cdab14..254d9526c018c044d4c8d4c639d4d9089e011e04 100644 (file)
@@ -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