summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/Kconfig
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2018-04-26 20:19:30 +0200
committerDoug Ledford <dledford@redhat.com>2018-04-27 17:15:43 +0200
commit3af7a156bdc356946098e13180be66b6420619bf (patch)
treee7a09dce1716881582a1069e2adc0fd2815281dc /drivers/nvme/host/Kconfig
parentRDMA/mlx5: Properly check return value of mlx5_get_uars_page (diff)
downloadlinux-3af7a156bdc356946098e13180be66b6420619bf.tar.xz
linux-3af7a156bdc356946098e13180be66b6420619bf.zip
nvme: depend on INFINIBAND_ADDR_TRANS
NVME_RDMA code depends on INFINIBAND_ADDR_TRANS provided symbols. So declare the kconfig dependency. This is necessary to allow for enabling INFINIBAND without INFINIBAND_ADDR_TRANS. Signed-off-by: Greg Thelen <gthelen@google.com> Cc: Tarick Bedeir <tarick@google.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/nvme/host/Kconfig')
-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 b979cf3bce65..88a8b5916624 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -27,7 +27,7 @@ config NVME_FABRICS
config NVME_RDMA
tristate "NVM Express over Fabrics RDMA host driver"
- depends on INFINIBAND && BLOCK
+ depends on INFINIBAND && INFINIBAND_ADDR_TRANS && BLOCK
select NVME_CORE
select NVME_FABRICS
select SG_POOL