Driver core: Constify struct sysfs_ops in struct kobj_type
[cascardo/linux.git] / drivers / firmware / edd.c
index 9e4f59d..110e24e 100644 (file)
@@ -122,7 +122,7 @@ edd_attr_show(struct kobject * kobj, struct attribute *attr, char *buf)
        return ret;
 }
 
-static struct sysfs_ops edd_attr_ops = {
+static const struct sysfs_ops edd_attr_ops = {
        .show = edd_attr_show,
 };