summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-regmap.c
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-03-24 09:19:02 +0100
committerLinus Walleij <linus.walleij@linaro.org>2021-03-29 12:20:07 +0200
commit9c7d24693d864f90b27aad5d15fbfe226c02898b (patch)
treee6bb89eeeda4c5b0807ae97ceecaaa7ff72c5623 /drivers/gpio/gpio-regmap.c
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-stable-9c7d24693d864f90b27aad5d15fbfe226c02898b.tar.gz
linux-stable-9c7d24693d864f90b27aad5d15fbfe226c02898b.tar.bz2
linux-stable-9c7d24693d864f90b27aad5d15fbfe226c02898b.zip
gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
The current code doesn't check if GPIOLIB_IRQCHIP is enabled, which results in a compilation error when trying to build gpio-regmap if CONFIG_GPIOLIB_IRQCHIP isn't enabled. Fixes: 6a45b0e2589f ("gpiolib: Introduce gpiochip_irqchip_add_domain()") Suggested-by: Michael Walle <michael@walle.cc> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Michael Walle <michael@walle.cc> Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20210324081923.20379-2-noltari@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-regmap.c')
0 files changed, 0 insertions, 0 deletions