lkml.org 
[lkml]   [2020]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 21/68] gpio: max77620: Add missing dependency on GPIOLIB_IRQCHIP
    Date
    From: Dmitry Osipenko <digetx@gmail.com>

    [ 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 | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
    index b992badb99dd2..5d097d631e39f 100644
    --- a/drivers/gpio/Kconfig
    +++ b/drivers/gpio/Kconfig
    @@ -920,6 +920,7 @@ config GPIO_LP873X
    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
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-02-03 17:49    [W:4.789 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site