const_structs.checkpatch.pl: add kobj_type
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 4 Feb 2023 05:41:26 +0000 (05:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:33:29 +0000 (13:33 +0100)
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>
scripts/const_structs.checkpatch

index 1eeb7b42c5b9fa1a2e903b5a270419c72447d8db..dc39d938ea77d0687fbf9eb3fe26ab577e11757f 100644 (file)
@@ -35,6 +35,7 @@ iwl_ops
 kernel_param_ops
 kgdb_arch
 kgdb_io
+kobj_type
 kset_uevent_ops
 lock_manager_operations
 machine_desc