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 | 35 | kernel_param_ops |
| 36 | 36 | kgdb_arch |
| 37 | 37 | kgdb_io |
| 38 | +kobj_type | |
| 38 | 39 | kset_uevent_ops |
| 39 | 40 | lock_manager_operations |
| 40 | 41 | machine_desc |