[PATCH RFC 1/5] pinctrl: mvebu: constify mvebu_mpp_ctrl structures

Linus Walleij linus.walleij at linaro.org
Wed Jan 18 00:53:57 PST 2017


On Fri, Jan 13, 2017 at 12:03 PM, Russell King
<rmk+kernel at armlinux.org.uk> wrote:

> As the mvebu_mpp_ctrl structures contain function pointers, it is
> preferable for these to be made read-only to prevent the function
> pointers being modified.  So make these const.
>
> Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list