From: Dmitry Osipenko Date: Mon, 6 Jan 2020 01:51:54 +0000 (+0300) Subject: gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP X-Git-Tag: v5.4.17~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fe14f9db5c948ab0def53fda4275d958c2d26fb;p=platform%2Fkernel%2Flinux-rpi.git gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP [ Upstream commit c5706c7defc79de68a115b5536376298a8fef111 ] Driver fails to compile in a minimized kernel's configuration because of the missing dependency on GPIOLIB_IRQCHIP. error: ‘struct gpio_chip’ has no member named ‘irq’ 44 | virq = irq_find_mapping(gpio->gpio_chip.irq.domain, offset); Signed-off-by: Dmitry Osipenko Link: https://lore.kernel.org/r/20200106015154.12040-1-digetx@gmail.com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index ceb908f..f926342 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1120,6 +1120,7 @@ config GPIO_MADERA config GPIO_MAX77620 tristate "GPIO support for PMIC MAX77620 and MAX20024" depends on MFD_MAX77620 + select GPIOLIB_IRQCHIP help GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor. MAX77620 PMIC has 8 pins that can be configured as GPIOs. The