diff options
author | Eric Biggers <ebiggers@google.com> | 2017-03-30 22:39:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-03-31 16:28:58 +0200 |
commit | f363b089be0a39fe4282c688118a51d21f952bc7 (patch) | |
tree | 67ef76e6c2f43898be5f8ff9caaf692132236f86 /drivers/mtd/ubi/block.c | |
parent | null_blk: add blocking mode (diff) | |
download | linux-f363b089be0a39fe4282c688118a51d21f952bc7.tar.xz linux-f363b089be0a39fe4282c688118a51d21f952bc7.zip |
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/mtd/ubi/block.c')
-rw-r--r-- | drivers/mtd/ubi/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c index c80869e60909..51f2be8889b5 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c @@ -347,7 +347,7 @@ static int ubiblock_init_request(void *data, struct request *req, return 0; } -static struct blk_mq_ops ubiblock_mq_ops = { +static const struct blk_mq_ops ubiblock_mq_ops = { .queue_rq = ubiblock_queue_rq, .init_request = ubiblock_init_request, }; |