aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2020-10-15 20:12:05 -0700
committerLinus Torvalds <[email protected]>2020-10-16 11:11:21 -0700
commitc12093a11462b775a83ed600bf0036c8bef3e841 (patch)
tree206776a07e8a806530b662cec9349b5f7d234c3d
parent8020b253631286807ca41f176e96e18af14bfb2e (diff)
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]>
-rw-r--r--scripts/const_structs.checkpatch2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index cd45cb3c2b04..1aae4f4fdacc 100644
--- a/scripts/const_structs.checkpatch
+++ b/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