mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
blk-mq: constify struct blk_mq_ops
Constify all instances of blk_mq_ops, as they are never modified. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
db5bcf87bb
commit
f363b089be
14 changed files with 18 additions and 18 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue