Skip to contentSkip to conversation

const_structs.checkpatch: Add phy_ops

PATCH Applied Rikard Falkeborn 1 participant 1 message Aug 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
See [1] for a patch series constifying the remaining non-const phy_ops.

[1] https://lore.kernel.org/lkml/[email protected]/

 scripts/const_structs.checkpatch | 1 +
 1 file changed, 1 insertion(+)
scripts/const_structs.checkpatch +1 -0
index e9df9cc28a85..cd45cb3c2b04 100644
@@ -39,6 +39,7 @@ nlmsvc_binding
 nvkm_device_chip
 of_device_id
 pci_raw_ops
+phy_ops
 pipe_buf_operations
 platform_hibernation_ops
 platform_suspend_ops
Signature · 1 line
2.28.0