NVMe: Add explicit block config dependency
authorKeith Busch <keith.busch@intel.com>
Mon, 12 Oct 2015 17:37:38 +0000 (11:37 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 12 Oct 2015 17:43:22 +0000 (11:43 -0600)
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>
drivers/nvme/host/Kconfig

index 0089f78b40718f37ed7c0bcee942a3023c9843c4..002a94abdbc45c7f20255b804efae684185283c9 100644 (file)
@@ -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