summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-01-02 15:20:25 -0700
committerJens Axboe <axboe@fb.com>2015-01-02 15:20:25 -0700
commit78e367a3601f35ea811e7f5660b7362afa2401fa (patch)
treedd433ae062a7975fa30d63cee4b6b095636d2782
parentaf65aa8ea78b296857f257bdc52338d03101813b (diff)
downloadlinux-78e367a3601f35ea811e7f5660b7362afa2401fa.tar.bz2
loop: add blk-mq.h include
Looks like we pull it in through other ways on x86, but we fail on sparc: In file included from drivers/block/cryptoloop.c:30:0: drivers/block/loop.h:63:24: error: field 'tag_set' has incomplete type struct blk_mq_tag_set tag_set; Add the include to loop.h, kill it from loop.c. Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--drivers/block/loop.c1
-rw-r--r--drivers/block/loop.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 185a86d73c3f..d1f168b73634 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -75,7 +75,6 @@
#include <linux/sysfs.h>
#include <linux/miscdevice.h>
#include <linux/falloc.h>
-#include <linux/blk-mq.h>
#include "loop.h"
#include <asm/uaccess.h>
diff --git a/drivers/block/loop.h b/drivers/block/loop.h
index e20cdbbff7d5..301c27f8323f 100644
--- a/drivers/block/loop.h
+++ b/drivers/block/loop.h
@@ -11,6 +11,7 @@
#include <linux/bio.h>
#include <linux/blkdev.h>
+#include <linux/blk-mq.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>