]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: sifive: Make the irqchip immutable
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 20 May 2022 10:24:16 +0000 (12:24 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 24 May 2022 14:35:52 +0000 (16:35 +0200)
commit37b8e7eb29cb03e4c61c8624bf7a7a47517d1606
tree0b9715fdbbea0139dd42609f33ca8bc83994ca40
parentbcc8dc27df5f08bd7cff76e35a7bebd6a2a4179a
gpio: sifive: Make the irqchip immutable

Commit b120d0405095 ("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 sifive driver:

    gpio gpiochip1: (38001000.gpio-controller): not an immutable chip, please consider fixing it!

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

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-sifive.c