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

pinctrl: bcm: Constify static pinmux_ops



These are only assigned, either directly or via the bcm63xx_pinctrl_soc
struct, to the pmxops field in the pinctrl_desc struct and never
modified, so make them const to allow the compiler to put them in
read-only memory.

Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210605185908.39982-3-rikard.falkeborn@gmail.com
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d9779093
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment