diff options
author | 2020-01-06 04:51:54 +0300 | |
---|---|---|
committer | 2020-02-01 09:37:09 +0000 | |
commit | 4fce6b14f29d469bdfe9540ea8ad6c4c7a4a318c (patch) | |
tree | 539492f7bc732c634401a2f5405131a5b1553070 | |
parent | 94c9249dc8d727edd04af8b88eec317770925275 (diff) | |
download | linux-yocto-4fce6b14f29d469bdfe9540ea8ad6c4c7a4a318c.tar.gz linux-yocto-4fce6b14f29d469bdfe9540ea8ad6c4c7a4a318c.tar.bz2 linux-yocto-4fce6b14f29d469bdfe9540ea8ad6c4c7a4a318c.zip |
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>
-rw-r--r-- | drivers/gpio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index ed51221621a5..2c34e9537f9e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1059,6 +1059,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 |