Re: [PATCH v9 01/22] gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP

From: Bartosz Golaszewski
Date: Fri Mar 26 2021 - 09:15:13 EST


On Wed, Mar 24, 2021 at 9:19 AM Álvaro Fernández Rojas
<noltari@xxxxxxxxx> wrote:
>
> 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@xxxxxxxx>
> Signed-off-by: Álvaro Fernández Rojas <noltari@xxxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Reviewed-by: Michael Walle <michael@xxxxxxxx>
> ---

Acked-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

I suppose this will go through the pinctrl tree.

Bartosz