Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type.
Showing the changes to scripts/const_structs.checkpatch (1 of 1 file). Show all
Unified · Split
| @@ -35,6 +35,7 @@ iwl_ops · 34 unmodified lines | |||
| 35 | kernel_param_ops | 35 | kernel_param_ops |
| 36 | kgdb_arch | 36 | kgdb_arch |
| 37 | kgdb_io | 37 | kgdb_io |
| 38 | kobj_type | ||
| 38 | kset_uevent_ops | 39 | kset_uevent_ops |
| 39 | lock_manager_operations | 40 | lock_manager_operations |
| 40 | machine_desc | 41 | machine_desc |