Bläddra i källkod

const_structs.checkpatch: add pinctrl_ops and pinmux_ops

All usages of include/linux of these are const pointers, and all instances
in the kernel except one, that are not const can be made const (patches
have been posted for those separately).

Signed-off-by: Rikard Falkeborn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Manivannan Sadhasivam <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Andreas Färber <[email protected]>
Cc: Rikard Falkeborn <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Rikard Falkeborn 4 år sedan
förälder
incheckning
c12093a114
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      scripts/const_structs.checkpatch

+ 2 - 0
scripts/const_structs.checkpatch

@@ -40,6 +40,8 @@ nvkm_device_chip
 of_device_id
 pci_raw_ops
 phy_ops
+pinctrl_ops
+pinmux_ops
 pipe_buf_operations
 platform_hibernation_ops
 platform_suspend_ops