RDS: Workaround for in-use MRs on close causing crash
[pandora-kernel.git] / block / blk-sysfs.c
index e854424..2ae2cb3 100644 (file)
@@ -450,7 +450,7 @@ static void blk_release_queue(struct kobject *kobj)
        kmem_cache_free(blk_requestq_cachep, q);
 }
 
-static struct sysfs_ops queue_sysfs_ops = {
+static const struct sysfs_ops queue_sysfs_ops = {
        .show   = queue_attr_show,
        .store  = queue_attr_store,
 };