Re: [PATCH v3 00/14] pinctrl: add BCM63XX pincontrol support

From: Linus Walleij
Date: Wed Mar 03 2021 - 19:19:30 EST


On Wed, Mar 3, 2021 at 5:23 PM Álvaro Fernández Rojas <noltari@xxxxxxxxx> wrote:

> Or maybe we could guard these lines of gpio-regmap.c with #ifdef GPIOLIB_IRQCHIP:
> https://github.com/torvalds/linux/blob/f69d02e37a85645aa90d18cacfff36dba370f797/drivers/gpio/gpio-regmap.c#L282-L286

That's the best approach. I wasn't a big fan of this ability to insert
an external
irqdomain in the first place, so it should be as optional as possible.

Yours,
Linus Walleij