Re: [PATCH 2/2] pinctrl: ocelot: make irq_chip immutable

From: Linus Walleij
Date: Mon Jul 11 2022 - 08:14:22 EST


On Wed, Jul 6, 2022 at 5:16 PM Michael Walle <michael@xxxxxxxx> wrote:

> Since recently, the kernel is nagging about mutable irq_chips:
>
> [ 2.593426] gpio gpiochip0: (ocelot-gpio): not an immutable chip, please consider fixing it!
>
> Make it const, flag it as IRQCHIP_IMMUTABLE, add the new helper
> functions and call the appropriate gpiolib functions.
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

I hear that Marc want to queue this patch with 1/2 so go ahead Marc!

Yours,
Linus Walleij