summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2016-10-02 22:58:17 +0200
committerLee Jones <lee.jones@linaro.org>2016-11-29 08:21:20 +0000
commit28e9e55ed30d1a0f46c541a1f3976be9b9141a4e (patch)
treee0aafa1a9604178c68e2b2d86854f354a3e595d1 /drivers/mfd
parentd87814a3e846aa23a1ae3519413841954d27fb40 (diff)
downloadlinux-28e9e55ed30d1a0f46c541a1f3976be9b9141a4e.tar.gz
linux-28e9e55ed30d1a0f46c541a1f3976be9b9141a4e.tar.xz
mfd: Enable compile testing for max77620 and max77686
The OF is not a strict build-time dependency so max77620 and max77686 can be compile tested to increase build coverage. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 94db77307f62..0d9590358273 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -578,7 +578,7 @@ config MFD_MAX14577
config MFD_MAX77620
bool "Maxim Semiconductor MAX77620 and MAX20024 PMIC Support"
depends on I2C=y
- depends on OF
+ depends on OF || COMPILE_TEST
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
@@ -593,7 +593,7 @@ config MFD_MAX77620
config MFD_MAX77686
tristate "Maxim Semiconductor MAX77686/802 PMIC Support"
depends on I2C
- depends on OF
+ depends on OF || COMPILE_TEST
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ