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 db39d53cdfb9fbd63258a426d4539b63d1f92701..0c644f7bdf80f1693d2877dd53685d793b17fafb 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 a5c31cbeb4815efe58f8b5ff60a009ea97c62d31..3a5b9d0576cb0f71a5bf22a34c905ae8dfc634fb 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