summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-10-12 19:37:38 +0200
committerJens Axboe <axboe@fb.com>2015-10-12 19:43:22 +0200
commit11feb18f4edb1423ed6091908c45de7ade30d5b7 (patch)
tree589f8b3fe0aecd4387002a932d711c6f5ac6537e
parentnvme: include <linux/types.ĥ> in <linux/nvme.h> (diff)
downloadlinux-11feb18f4edb1423ed6091908c45de7ade30d5b7.tar.xz
linux-11feb18f4edb1423ed6091908c45de7ade30d5b7.zip
NVMe: Add explicit block config dependency
The nvme driver was moved from drivers/block, losing our implicit dependency on CONFIG_BLOCK. This makes it an explicit driver dependency. Reported-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--drivers/nvme/host/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig
index 0089f78b4071..002a94abdbc4 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -1,6 +1,6 @@
config BLK_DEV_NVME
tristate "NVM Express block device"
- depends on PCI
+ depends on PCI && BLOCK
---help---
The NVM Express driver is for solid state drives directly
connected to the PCI or PCI Express bus. If you know you