nvme: fabrics drivers don't need the nvme-pci driver
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Aug 2016 18:16:36 +0000 (11:16 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Fri, 19 Aug 2016 11:22:28 +0000 (14:22 +0300)
So select the NVME_CORE symbol instead of depending on BLK_DEV_NVME.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/Kconfig
drivers/nvme/target/Kconfig

index db39d53..0c644f7 100644 (file)
@@ -31,7 +31,7 @@ config NVME_FABRICS
 config NVME_RDMA
        tristate "NVM Express over Fabrics RDMA host driver"
        depends on INFINIBAND
-       depends on BLK_DEV_NVME
+       select NVME_CORE
        select NVME_FABRICS
        select SG_POOL
        help
index a5c31cb..3a5b9d0 100644 (file)
@@ -15,8 +15,8 @@ config NVME_TARGET
 
 config NVME_TARGET_LOOP
        tristate "NVMe loopback device support"
-       depends on BLK_DEV_NVME
        depends on NVME_TARGET
+       select NVME_CORE
        select NVME_FABRICS
        select SG_POOL
        help