Driver core: Constify struct sysfs_ops in struct kobj_type
[pandora-kernel.git] / drivers / infiniband / core / sysfs.c
index 158a214..1558bb7 100644 (file)
@@ -79,7 +79,7 @@ static ssize_t port_attr_show(struct kobject *kobj,
        return port_attr->show(p, port_attr, buf);
 }
 
-static struct sysfs_ops port_sysfs_ops = {
+static const struct sysfs_ops port_sysfs_ops = {
        .show = port_attr_show
 };