Build this driver on another platforms if COMPILE_TEST=y. Another drivers may depend on this, for example leds-asic3.
Signed-off-by: Marek Behún <marek.be...@nic.cz> Cc: Lee Jones <lee.jo...@linaro.org> Cc: Pavel Machek <pa...@ucw.cz> Cc: Phil Blundell <p...@handhelds.org> Cc: Samuel Ortiz <sa...@openedhand.com> --- drivers/mfd/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 33df0837ab415..599a01aee7abe 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -290,7 +290,8 @@ config MFD_CS47L92 config MFD_ASIC3 bool "Compaq ASIC3" - depends on GPIOLIB && ARM + depends on GPIOLIB + depends on ARM || COMPILE_TEST select MFD_CORE help This driver supports the ASIC3 multifunction chip found on many -- 2.26.2