gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP
authorDmitry Osipenko <digetx@gmail.com>
Mon, 6 Jan 2020 01:51:54 +0000 (04:51 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Jan 2020 23:02:09 +0000 (00:02 +0100)
commitc5706c7defc79de68a115b5536376298a8fef111
tree41900f82144c3adba73d0ef902abd606d17f0600
parent8bee8084ba03d59004103502c3002bb5c05a129f
gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP

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 <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200106015154.12040-1-digetx@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig