]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pl061: Make the irqchip immutable
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:18:41 +0000 (15:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:22:26 +0000 (15:22 +0100)
commit6ecb37f9eda1a3d9d28f5d575f2692fa02eacdf8
treef4bc7fcc56b961180cfaf856dc554addd9599f73
parente4cf8d7f2a6108c7eb7898898ca5731a8876d1c7
gpio: pl061: Make the irqchip immutable

Prevent gpiolib from messing with the irqchip by advertising
the irq_chip structure as immutable, making it const, and adding
the various calls that gpiolib relies upon.

Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220419141846.598305-6-maz@kernel.org
drivers/gpio/gpio-pl061.c