Re: [PATCH] pinctrl: mediatek: select GPIOLIB

2018-10-10 Thread Linus Walleij
On Mon, Oct 8, 2018 at 5:58 PM Arnd Bergmann wrote: > Removing the linux/gpio.h include means we no longer have a declaration > of gpiochip_lock_as_irq() when CONFIG_GPIOLIB is disabled: > > drivers/pinctrl/mediatek/mtk-eint.c: In function > 'mtk_eint_irq_request_resources': > drivers/pinctrl/me

[PATCH] pinctrl: mediatek: select GPIOLIB

2018-10-08 Thread Arnd Bergmann
Removing the linux/gpio.h include means we no longer have a declaration of gpiochip_lock_as_irq() when CONFIG_GPIOLIB is disabled: drivers/pinctrl/mediatek/mtk-eint.c: In function 'mtk_eint_irq_request_resources': drivers/pinctrl/mediatek/mtk-eint.c:247:8: error: implicit declaration of function