Re: [PATCH v5 01/15] gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP

From: Michael Walle
Date: Tue Mar 09 2021 - 18:14:01 EST


Am 2021-03-06 16:56, schrieb Álvaro Fernández Rojas:
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: Michael Walle <michael@xxxxxxxx>

Thanks!
-michael