aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-tb10x.c
diff options
context:
space:
mode:
authorRikard Falkeborn2020-09-26 22:23:42 +0200
committerLinus Walleij2020-09-30 10:37:52 +0200
commit98a40a34e0b669d10a09fd90ec7dc425280e9e7f (patch)
treeafafb2fe9b10351227265f6016ba6d418db9266a /drivers/pinctrl/pinctrl-tb10x.c
parent19f599e83ac56dda5b35df1d23fb24efeecfadad (diff)
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tb10x.c')
0 files changed, 0 insertions, 0 deletions