[PATCH 1/2] pinctrl: bcm: Constify static pinctrl_ops
Florian Fainelli
f.fainelli at gmail.com
Sat Jun 5 20:35:04 PDT 2021
On 6/5/2021 11:59 AM, Rikard Falkeborn wrote:
> These are only assigned, either directly or via the bcm63xx_pinctrl_soc
> struct, to the pctlops 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: Rikard Falkeborn <rikard.falkeborn at gmail.com>
Acked-by: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the linux-arm-kernel
mailing list