gpio: mxc: Add COMPILE_TEST support for GPIO_MXC

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>
This commit is contained in:
Anson Huang 2020-03-07 21:31:57 +08:00 committed by Bartosz Golaszewski
parent 1a555713ac
commit d4e9361442

View 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