Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / block / elevator.c
index ee3a883840f268b1343300ad40368005e2d317dc..df75676f6671ea97e33b78567dae2fbfb0f75058 100644 (file)
@@ -892,7 +892,7 @@ elv_attr_store(struct kobject *kobj, struct attribute *attr,
        return error;
 }
 
-static struct sysfs_ops elv_sysfs_ops = {
+static const struct sysfs_ops elv_sysfs_ops = {
        .show   = elv_attr_show,
        .store  = elv_attr_store,
 };