summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-07-07 09:18:44 +0200
committerMichael Turquette <mturquette@baylibre.com>2016-07-12 15:31:21 -0700
commit821f9946e07b7b201fe4581bd5f6005d84b7bd42 (patch)
tree61a4f85cef5103743aa4e8b8476c77af85ef5897
parent5e33ebff7eddcf333287482e29541a3c06da3db5 (diff)
downloadlinux-821f9946e07b7b201fe4581bd5f6005d84b7bd42.tar.bz2
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. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160707091844.196a7930@endymion
-rw-r--r--drivers/clk/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 4d84be999f55..e2d9bd760c84 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -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.