summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-09 09:57:38 +0800
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-03-25 09:50:45 +0100
commit6876ca311bfca5d7cae30c4b529aeb9449c072eb (patch)
tree93be2313ac87b580a9effeff5e61b6bb4a0d5dd7 /drivers/gpio
parentd4e9361442e23fe6edd4c1702004f19fc15553df (diff)
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index ef55c45131c5..1b96169d84f7 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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