File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ static void klp_kobj_release_patch(struct kobject *kobj)
596
596
complete (& patch -> finish );
597
597
}
598
598
599
- static struct kobj_type klp_ktype_patch = {
599
+ static const struct kobj_type klp_ktype_patch = {
600
600
.release = klp_kobj_release_patch ,
601
601
.sysfs_ops = & kobj_sysfs_ops ,
602
602
.default_groups = klp_patch_groups ,
@@ -612,7 +612,7 @@ static void klp_kobj_release_object(struct kobject *kobj)
612
612
klp_free_object_dynamic (obj );
613
613
}
614
614
615
- static struct kobj_type klp_ktype_object = {
615
+ static const struct kobj_type klp_ktype_object = {
616
616
.release = klp_kobj_release_object ,
617
617
.sysfs_ops = & kobj_sysfs_ops ,
618
618
.default_groups = klp_object_groups ,
@@ -628,7 +628,7 @@ static void klp_kobj_release_func(struct kobject *kobj)
628
628
klp_free_func_nop (func );
629
629
}
630
630
631
- static struct kobj_type klp_ktype_func = {
631
+ static const struct kobj_type klp_ktype_func = {
632
632
.release = klp_kobj_release_func ,
633
633
.sysfs_ops = & kobj_sysfs_ops ,
634
634
};
You can’t perform that action at this time.
0 commit comments