Driver core: Constify struct sysfs_ops in struct kobj_type
[deliverable/linux.git] / drivers / infiniband / core / cm.c
index 5130fc55b8e2739f001389d2392dfd8e49b96125..764787ebe8d80f661ba9e7edf0b0e98c38502bfc 100644 (file)
@@ -3597,7 +3597,7 @@ static ssize_t cm_show_counter(struct kobject *obj, struct attribute *attr,
                       atomic_long_read(&group->counter[cm_attr->index]));
 }
 
-static struct sysfs_ops cm_counter_ops = {
+static const struct sysfs_ops cm_counter_ops = {
        .show = cm_show_counter
 };
 
This page took 0.039532 seconds and 5 git commands to generate.