2021-06-05 19:03:37

by Rikard Falkeborn

[permalink] [raw]
Subject: [PATCH 0/2] pinctrl: bcm: Constify static ops structs

Constify a number of pinctrl_ops and pinmux_ops that are never modified
to allow the compiler to put them in read-only memory.

Rikard Falkeborn (2):
pinctrl: bcm: Constify static pinctrl_ops
pinctrl: bcm: Constify static pinmux_ops

drivers/pinctrl/bcm/pinctrl-bcm6318.c | 4 ++--
drivers/pinctrl/bcm/pinctrl-bcm63268.c | 4 ++--
drivers/pinctrl/bcm/pinctrl-bcm6328.c | 4 ++--
drivers/pinctrl/bcm/pinctrl-bcm6358.c | 4 ++--
drivers/pinctrl/bcm/pinctrl-bcm6362.c | 4 ++--
drivers/pinctrl/bcm/pinctrl-bcm6368.c | 4 ++--
drivers/pinctrl/bcm/pinctrl-bcm63xx.h | 4 ++--
7 files changed, 14 insertions(+), 14 deletions(-)

--
2.31.1


2021-06-09 14:06:50

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 0/2] pinctrl: bcm: Constify static ops structs

On Sat, Jun 5, 2021 at 8:59 PM Rikard Falkeborn
<[email protected]> 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