summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-07 14:31:57 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-03-25 09:50:45 +0100
commitd4e9361442e23fe6edd4c1702004f19fc15553df (patch)
treecbd8038a6e9a0c8ae3d6ce689a83ef835b63f6bc /drivers/gpio
parentgpio: pl061: Warn when IRQ line has not been configured (diff)
downloadlinux-d4e9361442e23fe6edd4c1702004f19fc15553df.tar.xz
linux-d4e9361442e23fe6edd4c1702004f19fc15553df.zip
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>
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 6234ccc90e7e..ef55c45131c5 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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