diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-04 06:41:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-08 13:33:29 +0100 |
commit | 8518e9db9f95d7beb453e46ee97e1a630680c4b5 (patch) | |
tree | 213eec02e449bfc845edbd3b43acc65b386231b6 /scripts/const_structs.checkpatch | |
parent | drivers: base: dd: fix memory leak with using debugfs_lookup() (diff) | |
download | linux-8518e9db9f95d7beb453e46ee97e1a630680c4b5.tar.xz linux-8518e9db9f95d7beb453e46ee97e1a630680c4b5.zip |
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.checkpatch | 1 |
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 |