diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b7176ce6f7e0..b9728ae26d47 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -378,7 +378,8 @@ config GPIO_MVEBU select REGMAP_MMIO config GPIO_MXC - def_bool y + tristate "NXP MXC GPIO Support" + default y depends on ARCH_MXC select GPIO_GENERIC select GENERIC_IRQ_CHIP diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 8beb0bdb4b38..0185b6e57e78 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -896,3 +897,4 @@ static int __init gpio_mxc_init(void) return platform_driver_register(&mxc_gpio_driver); } subsys_initcall(gpio_mxc_init); +MODULE_LICENSE("GPL v2");