gpio: mxs: add COMPILE_TEST support for GPIO_MXS
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 9 Mar 2020 01:57:38 +0000 (09:57 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 25 Mar 2020 08:50:45 +0000 (09:50 +0100)
Add COMPILE_TEST support to GPIO_MXS driver for better compile
testing coverage.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/Kconfig

index ef55c45131c5ca87166154cfe9486fd3261a1cd1..1b96169d84f746d712869813a899c5a4a85c8573 100644 (file)
@@ -400,7 +400,7 @@ config GPIO_MXC
 
 config GPIO_MXS
        def_bool y
-       depends on ARCH_MXS
+       depends on ARCH_MXS || COMPILE_TEST
        select GPIO_GENERIC
        select GENERIC_IRQ_CHIP