Driver core: Constify struct sysfs_ops in struct kobj_type
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / dlm / lockspace.c
index 26a8bd40400af4418d7ea9f7b6a6d6605c54f287..f994a7dfda85c69e9d1d514329add11811bd9278 100644 (file)
@@ -148,7 +148,7 @@ static void lockspace_kobj_release(struct kobject *k)
        kfree(ls);
 }
 
-static struct sysfs_ops dlm_attr_ops = {
+static const struct sysfs_ops dlm_attr_ops = {
        .show  = dlm_attr_show,
        .store = dlm_attr_store,
 };