blk_mq: linux/blk-mq.h does not include all the headers it depends on

and building block/blk-mq-pci.o should depend on CONFIG_BLOCK

Fixes: 973c4e372c ("blk-mq: provide a default queue mapping for PCI device")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
Stephen Rothwell
2016-09-19 15:50:16 +10:00
committed by Jens Axboe
parent 9151bcb4fb
commit 8ec2ef2b66
3 changed files with 8 additions and 1 deletions

View File

@@ -124,4 +124,9 @@ config BLOCK_COMPAT
depends on BLOCK && COMPAT
default y
config BLK_MQ_PCI
bool
depends on BLOCK && PCI
default y
source block/Kconfig.iosched