gpio: mxc: Add COMPILE_TEST support for GPIO_MXC
authorAnson Huang <Anson.Huang@nxp.com>
Sat, 7 Mar 2020 13:31:57 +0000 (21:31 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 25 Mar 2020 08:50:45 +0000 (09:50 +0100)
Add COMPILE_TEST support to GPIO_MXC driver for better compile
testing coverage.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/Kconfig

index 6234ccc90e7eb4a173393f7efc7d88cd613646ee..ef55c45131c5ca87166154cfe9486fd3261a1cd1 100644 (file)
@@ -394,7 +394,7 @@ config GPIO_MVEBU
 
 config GPIO_MXC
        def_bool y
-       depends on ARCH_MXC
+       depends on ARCH_MXC || COMPILE_TEST
        select GPIO_GENERIC
        select GENERIC_IRQ_CHIP