From: Jean Delvare Date: Thu, 8 Sep 2016 21:28:29 +0000 (+0200) Subject: clk: sunxi-ng: Add hardware dependency X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d63a5e7c713a68bd368016f2022326a1a91310d8;p=deliverable%2Flinux.git clk: sunxi-ng: Add hardware dependency The sunxi-ng clock driver is useless for other architectures. Signed-off-by: Jean Delvare Acked-by: Stephen Boyd Signed-off-by: Maxime Ripard --- diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 90fd1e4f7042..254d9526c018 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -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