Skip to content
Commit 98a40a34 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Linus Walleij
Browse files

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: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200926202342.31014-1-rikard.falkeborn@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 19f599e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment