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

Rikard Falkeborn rikard.falkeborn at gmail.com
Sat Jun 5 11:59:06 PDT 2021


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




More information about the linux-arm-kernel mailing list