Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / fs / gfs2 / sys.c
index 543503010ed06fc9722c8caa2b3eb18be662e802..419042f7f0b6d14d21da858504775856657e58ea 100644 (file)
@@ -49,7 +49,7 @@ static ssize_t gfs2_attr_store(struct kobject *kobj, struct attribute *attr,
        return a->store ? a->store(sdp, buf, len) : len;
 }
 
-static struct sysfs_ops gfs2_attr_ops = {
+static const struct sysfs_ops gfs2_attr_ops = {
        .show  = gfs2_attr_show,
        .store = gfs2_attr_store,
 };