Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / drivers / infiniband / core / sysfs.c
index 158a214da2f7fd36b3c215203edc368a1fdb1cb1..1558bb7fc74dd6c2ce19da6d9c277292c0ba0e7b 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
 };