From: Anson Huang Date: Sat, 7 Mar 2020 13:31:57 +0000 (+0800) Subject: gpio: mxc: Add COMPILE_TEST support for GPIO_MXC X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d4e9361442e23fe6edd4c1702004f19fc15553df;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Bartosz Golaszewski --- 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