gpio: mxs: add COMPILE_TEST support for GPIO_MXS

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>
This commit is contained in:
Anson Huang 2020-03-09 09:57:38 +08:00 committed by Bartosz Golaszewski
parent d4e9361442
commit 6876ca311b

View 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