diff options
Diffstat (limited to 'block/blk-sysfs.c')
-rw-r--r-- | block/blk-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c index fad86550255a..4426739fb757 100644 --- a/block/blk-sysfs.c +++ b/block/blk-sysfs.c | |||
@@ -475,7 +475,7 @@ static void blk_release_queue(struct kobject *kobj) | |||
475 | kmem_cache_free(blk_requestq_cachep, q); | 475 | kmem_cache_free(blk_requestq_cachep, q); |
476 | } | 476 | } |
477 | 477 | ||
478 | static struct sysfs_ops queue_sysfs_ops = { | 478 | static const struct sysfs_ops queue_sysfs_ops = { |
479 | .show = queue_attr_show, | 479 | .show = queue_attr_show, |
480 | .store = queue_attr_store, | 480 | .store = queue_attr_store, |
481 | }; | 481 | }; |