]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
const_structs.checkpatch: add phy_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Fri, 16 Oct 2020 03:11:59 +0000 (20:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Oct 2020 18:11:21 +0000 (11:11 -0700)
commited4761f7804743e73ba2c0c140535a16d07032b6
treeb84df6e3e8f8138ad7da0abb709bc16ca3b21cbc
parent40873aba2c6b96c6f21265e6508eaa3de145e30a
const_structs.checkpatch: add phy_ops

All usages of phy_ops in include/linux uses const phy_ops * and all
instances of phy_ops in the kernel that are not const already can be made
const (patches have been posted for those separately).

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Vinod Koul <vkoul@kernel.org>
Link: https://lkml.kernel.org/r/20200824214132.9072-1-rikard.falkeborn@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/const_structs.checkpatch