pinctrl: nuvoton: npcm7xx: Constify static ops structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 26 Sep 2020 20:23:42 +0000 (22:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Sep 2020 08:37:52 +0000 (10:37 +0200)
commit98a40a34e0b669d10a09fd90ec7dc425280e9e7f
treeafafb2fe9b10351227265f6016ba6d418db9266a
parent19f599e83ac56dda5b35df1d23fb24efeecfadad
pinctrl: nuvoton: npcm7xx: Constify static ops structs

The only usage of these structs is to assign their address to various
ops fields in the pinctrl_desc struct, which are const pointers. Make
them const to allow the compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200926202342.31014-1-rikard.falkeborn@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c