summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-12 18:26:07 +0200
committerLee Jones <lee.jones@linaro.org>2015-10-30 18:19:50 +0100
commit5349ca11ca33dd393539024b613ef352d24cbb51 (patch)
tree881e4f4ecdb9daa143ecd691e8b343a2c93cfe22
parentmfd: da9053: Addition of extra registers for GPIOs 8-13 (diff)
downloadlinux-5349ca11ca33dd393539024b613ef352d24cbb51.tar.xz
linux-5349ca11ca33dd393539024b613ef352d24cbb51.zip
mfd: Kconfig: Compile MFD_STW481X with COMPILE_TEST
The driver depends on ARCH_NOMADIK but there isn't a build dependency so it's a good idea to allow the driver to always be built when the COMPILE_TEST option is enabled. That way, the driver can be built with a config generated by make allyesconfig and check if a patch would break the build. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 87e84e7c71da..d6514fb35f78 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1482,7 +1482,7 @@ config MFD_WM8994
config MFD_STW481X
tristate "Support for ST Microelectronics STw481x"
- depends on I2C && ARCH_NOMADIK
+ depends on I2C && (ARCH_NOMADIK || COMPILE_TEST)
select REGMAP_I2C
select MFD_CORE
help