pinctrl: amd: Make the irqchip immutable
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:18:44 +0000 (15:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:22:26 +0000 (15:22 +0100)
commit6173e56f76c712aac9d45208ccec7a065382911f
treea13281b4955b4246dfe2f420671ea31283b21062
parent14dbe186b9d42cbf662eae5a4da14687edbf0edb
pinctrl: amd: 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.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220419141846.598305-9-maz@kernel.org
drivers/pinctrl/pinctrl-amd.c