Skip to content

Commit c5706c7

Browse files
digetxlinusw
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 8bee808 commit c5706c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ config GPIO_MADERA
11481148
config GPIO_MAX77620
11491149
tristate "GPIO support for PMIC MAX77620 and MAX20024"
11501150
depends on MFD_MAX77620
1151+
select GPIOLIB_IRQCHIP
11511152
help
11521153
GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
11531154
MAX77620 PMIC has 8 pins that can be configured as GPIOs. The

0 commit comments

Comments
 (0)