gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP
authorDmitry Osipenko <digetx@gmail.com>
Mon, 6 Jan 2020 01:51:54 +0000 (04:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 14:18:07 +0000 (14:18 +0000)
commitc698d678854c08590c3d1964ecca1bfabc138950
tree3197e1bcbace2a6c1a3a93947821356bc8a79cb2
parente52f8ff34eaa49047c225a42c0a4d2976c4ab20c
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 <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200106015154.12040-1-digetx@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/Kconfig