pinctrl: starfive: Make the irqchip immutable
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 18 May 2022 14:41:42 +0000 (16:41 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 May 2022 13:16:29 +0000 (15:16 +0200)
commit48bd5c381c4a750bf486360536f4274c10b9ca35
treec21da69a9f049a47c0110fc2a4b9bfc477ac9270
parent2e1ccc6a75cc67ee00a79263442667709030ed28
pinctrl: starfive: Make the irqchip immutable

Commit 6c846d026d49 ("gpio: Don't fiddle with irqchips marked as
immutable") added a warning to indicate if the gpiolib is altering the
internals of irqchips.  Following this change the following warning is
now observed for the starfive driver:

    gpio gpiochip0: (11910000.pinctrl): not an immutable chip, please consider fixing it!

Fix this by making the irqchip in the starfive driver immutable.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/5eb66be34356afd5eb0ea9027329e0939d03d3a0.1652884852.git.geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-starfive.c