const_structs.checkpatch: add pinctrl_ops and pinmux_ops
PATCH 1/1 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]>
--- scripts/const_structs.checkpatch | 2 ++ 1 file changed, 2 insertions(+)
scripts/const_structs.checkpatch +2 -0
@@ -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
Signature · 1 line
2.28.0
Quoted 5 lines · Rikard Falkeborn
All usages of
include/linuxof 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]>
Thanks,
Mani
Quoted 20 lines
--- scripts/const_structs.checkpatch | 2 ++ 1 file changed, 2 insertions(+)scripts/const_structs.checkpatch +2
-0@@ -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_opsSignature · 1 line
2.28.0
Quoted 5 lines · Rikard Falkeborn
All usages of
include/linuxof 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]>
Reviewed-by Linus Walleij <[email protected]>
Thanks a lot for going the extra mile to fix this!!
Yours,
Linus Walleij