]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tegra186: Make the irqchip immutable
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:18:40 +0000 (15:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:22:26 +0000 (15:22 +0100)
commite4cf8d7f2a6108c7eb7898898ca5731a8876d1c7
treeac663a93b8549edae316b4ab5594d24c32ecc244
parent0c2c647276927357a3b2a2513015c1ddb6ce633d
gpio: tegra186: 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.

Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220419141846.598305-5-maz@kernel.org
drivers/gpio/gpio-tegra186.c