summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-08-05 11:39:40 +0200
committerJoel Granados <joel.granados@kernel.org>2024-10-09 13:39:11 +0200
commit5cc3199ed06c978e7ae785deb316dfebbbfe37ae (patch)
tree34c947440dd5e9367e653cf33d92cd12bbe9a2b0 /scripts/const_structs.checkpatch
parentfbc26ee771cbea8591899ee4cbd97131568df75a (diff)
const_structs.checkpatch: add ctl_table
Now that the sysctl core can handle "const struct ctl_table", make sure that new usages of the struct already enter the tree as const. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
-rw-r--r--scripts/const_structs.checkpatch1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index 014b3bfe3237..e8609a03c3d8 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -6,6 +6,7 @@ bus_type
clk_ops
comedi_lrange
component_ops
+ctl_table
dentry_operations
dev_pm_ops
device_type