]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: Enable compile testing for s2mps11 and max77686
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 2 Oct 2016 20:58:14 +0000 (22:58 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 00:33:13 +0000 (17:33 -0700)
s2mps11 and max77686 clock drivers can be compile tested to increase
build coverage.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/Kconfig

index 6a8ac04bedebdf13c2a2d1ff9c6e4543d7cc792b..56c1998ced3e12183e2a3a58e1ef27c0d7135556 100644 (file)
@@ -33,7 +33,7 @@ source "drivers/clk/versatile/Kconfig"
 
 config COMMON_CLK_MAX77686
        tristate "Clock driver for Maxim 77620/77686/77802 MFD"
-       depends on MFD_MAX77686 || MFD_MAX77620
+       depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
        ---help---
          This driver supports Maxim 77620/77686/77802 crystal oscillator
          clock.
@@ -119,7 +119,7 @@ config COMMON_CLK_CS2000_CP
 
 config COMMON_CLK_S2MPS11
        tristate "Clock driver for S2MPS1X/S5M8767 MFD"
-       depends on MFD_SEC_CORE
+       depends on MFD_SEC_CORE || COMPILE_TEST
        ---help---
          This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
          clock. These multi-function devices have two (S2MPS14) or three