Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / drivers / parisc / pdc_stable.c
index 0bc5d474b1688aa74b4dd96d9b2f016154ce065e..1062b8ffe2448004c0f0d497bc2305fc25d9bdd6 100644 (file)
@@ -481,7 +481,7 @@ pdcspath_attr_store(struct kobject *kobj, struct attribute *attr,
        return ret;
 }
 
-static struct sysfs_ops pdcspath_attr_ops = {
+static const struct sysfs_ops pdcspath_attr_ops = {
        .show = pdcspath_attr_show,
        .store = pdcspath_attr_store,
 };