diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4390,7 +4390,7 @@ static void kmem_cache_release(struct kobject *kobj) | |||
4390 | kfree(s); | 4390 | kfree(s); |
4391 | } | 4391 | } |
4392 | 4392 | ||
4393 | static struct sysfs_ops slab_sysfs_ops = { | 4393 | static const struct sysfs_ops slab_sysfs_ops = { |
4394 | .show = slab_attr_show, | 4394 | .show = slab_attr_show, |
4395 | .store = slab_attr_store, | 4395 | .store = slab_attr_store, |
4396 | }; | 4396 | }; |
@@ -4409,7 +4409,7 @@ static int uevent_filter(struct kset *kset, struct kobject *kobj) | |||
4409 | return 0; | 4409 | return 0; |
4410 | } | 4410 | } |
4411 | 4411 | ||
4412 | static struct kset_uevent_ops slab_uevent_ops = { | 4412 | static const struct kset_uevent_ops slab_uevent_ops = { |
4413 | .filter = uevent_filter, | 4413 | .filter = uevent_filter, |
4414 | }; | 4414 | }; |
4415 | 4415 | ||