From 8ec2ef2b66ea2fd00acc28aca8edaad441dbb424 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 19 Sep 2016 15:50:16 +1000 Subject: 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: 973c4e372c8f ("blk-mq: provide a default queue mapping for PCI device") Signed-off-by: Stephen Rothwell Reviewed-by: Christoph Hellwig Signed-off-by: Jens Axboe --- block/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'block/Kconfig') diff --git a/block/Kconfig b/block/Kconfig index 161491d..5155338 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -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 -- cgit v1.1