Driver core: Constify struct sysfs_ops in struct kobj_type
[pandora-kernel.git] / drivers / block / pktcdvd.c
index 73d815d..39c8514 100644 (file)
@@ -284,7 +284,7 @@ static ssize_t kobj_pkt_store(struct kobject *kobj,
        return len;
 }
 
-static struct sysfs_ops kobj_pkt_ops = {
+static const struct sysfs_ops kobj_pkt_ops = {
        .show = kobj_pkt_show,
        .store = kobj_pkt_store
 };