summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-02-04 08:41:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-08 15:33:29 +0300
commit8518e9db9f95d7beb453e46ee97e1a630680c4b5 (patch)
tree213eec02e449bfc845edbd3b43acc65b386231b6 /scripts/const_structs.checkpatch
parent36c893d3a759ae7c91ee7d4871ebfc7504f08c40 (diff)
downloadlinux-8518e9db9f95d7beb453e46ee97e1a630680c4b5.tar.xz
const_structs.checkpatch.pl: add kobj_type
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20230204-kobj_type-checkpatch-v1-1-9a94b04adbb2@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 1eeb7b42c5b9..dc39d938ea77 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -35,6 +35,7 @@ iwl_ops
kernel_param_ops
kgdb_arch
kgdb_io
+kobj_type
kset_uevent_ops
lock_manager_operations
machine_desc