mfd: asic3: Build if COMPILE_TEST=y
authorMarek Behún <marek.behun@nic.cz>
Thu, 17 Sep 2020 19:31:40 +0000 (21:31 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 30 Sep 2020 16:46:31 +0000 (17:46 +0100)
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.behun@nic.cz>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index 2ba2694..bdf8cb9 100644 (file)
@@ -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