diff options
author | Eric Biggers <ebiggers@google.com> | 2017-03-30 23:39:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-03-31 17:28:58 +0300 |
commit | f363b089be0a39fe4282c688118a51d21f952bc7 (patch) | |
tree | 67ef76e6c2f43898be5f8ff9caaf692132236f86 /drivers/block/xen-blkfront.c | |
parent | db5bcf87bb9e856e90c131d6e636a5550c2bbcd3 (diff) | |
download | linux-f363b089be0a39fe4282c688118a51d21f952bc7.tar.xz |
blk-mq: constify struct blk_mq_ops
Constify all instances of blk_mq_ops, as they are never modified.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r-- | drivers/block/xen-blkfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 5067a0a952cb..d137ef8a72be 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -907,7 +907,7 @@ out_busy: return BLK_MQ_RQ_QUEUE_BUSY; } -static struct blk_mq_ops blkfront_mq_ops = { +static const struct blk_mq_ops blkfront_mq_ops = { .queue_rq = blkif_queue_rq, }; |