diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-09-19 07:50:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-19 16:21:51 +0200 |
commit | 8ec2ef2b66ea2fd00acc28aca8edaad441dbb424 (patch) | |
tree | 5f46c82958d879c841ae666c7fbeb1a520eb08db /block/Kconfig | |
parent | blk-mq: kill unused blk_mq_create_mq_map() (diff) | |
download | linux-8ec2ef2b66ea2fd00acc28aca8edaad441dbb424.tar.xz linux-8ec2ef2b66ea2fd00acc28aca8edaad441dbb424.zip |
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 <sfr@canb.auug.org.au>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/Kconfig')
-rw-r--r-- | block/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig index 161491d0a879..515533802af1 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 |