aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorGravatar Rikard Falkeborn <rikard.falkeborn@gmail.com> 2021-05-12 20:01:40 +0200
committerGravatar Linus Walleij <linus.walleij@linaro.org> 2021-05-25 17:10:05 +0200
commitf56b273cd845a1139f8e37437367bca314e67b1c (patch)
treef18c31d57055cb8b6d10dc10dc7aa2248bec6729 /include/dt-bindings
parentpinctrl: npcm: Align a few entries in the pin function table (diff)
downloadlinux-f56b273cd845a1139f8e37437367bca314e67b1c.tar.gz
linux-f56b273cd845a1139f8e37437367bca314e67b1c.tar.bz2
linux-f56b273cd845a1139f8e37437367bca314e67b1c.zip
pinctrl: at91: Constify struct at91_pinctrl_mux_ops
The at91_pinctrl_mux_ops struct is never modified by the driver. Make it const wherever it is possible to allow the compiler to put the static variables in read-only memory. Note that sam9x60_ops was already const, but the const was cast away when the return value of of_match_device() was cast to a pointer to a non-const struct at91_pinctrl_mux_ops. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20210512180140.33293-1-rikard.falkeborn@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/dt-bindings')
0 files changed, 0 insertions, 0 deletions