summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-virtio.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-13 08:40:40 +0200
committerJens Axboe <axboe@kernel.dk>2023-04-13 14:52:29 +0200
commit90110e04f265b95f59fbae09c228c5920b8a302f (patch)
tree0c3c88c2b461892f6df2e7ff9fd3185c07bd33dc /block/blk-mq-virtio.c
parentblk-mq: remove blk-mq-tag.h (diff)
downloadlinux-90110e04f265b95f59fbae09c228c5920b8a302f.tar.xz
linux-90110e04f265b95f59fbae09c228c5920b8a302f.zip
blk-mq: include <linux/blk-mq.h> in block/blk-mq.h
block/blk-mq.h needs various definitions from <linux/blk-mq.h>, include it there instead of relying on the source files to include both. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230413064057.707578-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-virtio.c')
-rw-r--r--block/blk-mq-virtio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-mq-virtio.c b/block/blk-mq-virtio.c
index 6589f076a096..68d0945c0b08 100644
--- a/block/blk-mq-virtio.c
+++ b/block/blk-mq-virtio.c
@@ -3,7 +3,6 @@
* Copyright (c) 2016 Christoph Hellwig.
*/
#include <linux/device.h>
-#include <linux/blk-mq.h>
#include <linux/blk-mq-virtio.h>
#include <linux/virtio_config.h>
#include <linux/module.h>