mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
gpio: max77620: Make regmap_irq_chip const
Make the structure const as it is only passed to the function devm_regmap_add_irq_chip having the corresponding argument as const. Done using Coccinelle. Signed-off-by: Bhumika Goyal <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
16ee62e560
commit
ee949b51e4
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ static const struct regmap_irq max77620_gpio_irqs[] = {
|
|||
},
|
||||
};
|
||||
|
||||
static struct regmap_irq_chip max77620_gpio_irq_chip = {
|
||||
static const struct regmap_irq_chip max77620_gpio_irq_chip = {
|
||||
.name = "max77620-gpio",
|
||||
.irqs = max77620_gpio_irqs,
|
||||
.num_irqs = ARRAY_SIZE(max77620_gpio_irqs),
|
||||
|
|
|
|||
Loading…
Reference in a new issue