# Re: \[PATCH v9 01/22\] gpio: guard gpiochip\_irqchip\_add\_domain() with GPIOLIB\_IRQCHIP

- From: Bartosz Golaszewski \<hidden\>
- Date: 2021-03-26 13:15:14 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/03/6316673
- Thread: https://ratatoskr.run/linux-gpio/2021/03/6313396/t.md

```text
On Wed, Mar 24, 2021 at 9:19 AM Álvaro Fernández Rojas
[ref] 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 <redacted>
> Signed-off-by: Álvaro Fernández Rojas <redacted>
> Reviewed-by: Linus Walleij <redacted>
> Reviewed-by: Michael Walle <redacted>
> ---

Acked-by: Bartosz Golaszewski <redacted>

I suppose this will go through the pinctrl tree.

Bartosz

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
