clk: oxnas: Add hardware dependencies
authorJean Delvare <[email protected]>
Thu, 7 Jul 2016 07:18:44 +0000 (09:18 +0200)
committerMichael Turquette <[email protected]>
Tue, 12 Jul 2016 22:31:21 +0000 (15:31 -0700)
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 <[email protected]>
Cc: Stephen Boyd <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
Link: lkml.kernel.org/r/20160707091844.196a7930@endymion

drivers/clk/Kconfig

index 4d84be999f55b969ea286c02eaf39bba22895a1c..e2d9bd760c84a04e94290c3f4d523f8c0f1266df 100644 (file)
@@ -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.