Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / fs / ocfs2 / cluster / masklog.c
index b39da877b12fce3f893243bb0001053499f68cb0..3bb928a2bf7dc16aecb6ee478374bd2aac0a5f99 100644 (file)
@@ -136,7 +136,7 @@ static ssize_t mlog_store(struct kobject *obj, struct attribute *attr,
        return mlog_mask_store(mlog_attr->mask, buf, count);
 }
 
-static struct sysfs_ops mlog_attr_ops = {
+static const struct sysfs_ops mlog_attr_ops = {
        .show  = mlog_show,
        .store = mlog_store,
 };