Message ID | 20210605185908.39982-1-rikard.falkeborn@gmail.com |
---|---|
Headers | show |
Series | pinctrl: bcm: Constify static ops structs | expand |
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@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
On Sat, Jun 5, 2021 at 8:59 PM Rikard Falkeborn <rikard.falkeborn@gmail.com> wrote: > Constify a number of pinctrl_ops and pinmux_ops that are never modified > to allow the compiler to put them in read-only memory. Patches applied! Yours, Linus Walleij