summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2018-04-26 11:19:34 -0700
committerDoug Ledford <dledford@redhat.com>2018-04-27 11:15:44 -0400
commit5a3bc8a4abbd2d553430218d3a320400dce811b7 (patch)
tree9ef789a7b4c2939c6685ff26319d3da8970a2b83 /drivers/infiniband
parent3c6b03d18df657d677808d7090b4d03bc6026efd (diff)
downloadtalos-obmc-linux-5a3bc8a4abbd2d553430218d3a320400dce811b7.tar.gz
talos-obmc-linux-5a3bc8a4abbd2d553430218d3a320400dce811b7.zip
ib_srp: depend on INFINIBAND_ADDR_TRANS
INFINIBAND_SRP 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> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/ulp/srp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/Kconfig b/drivers/infiniband/ulp/srp/Kconfig
index c74ee9633041..99db8fe5173a 100644
--- a/drivers/infiniband/ulp/srp/Kconfig
+++ b/drivers/infiniband/ulp/srp/Kconfig
@@ -1,6 +1,6 @@
config INFINIBAND_SRP
tristate "InfiniBand SCSI RDMA Protocol"
- depends on SCSI
+ depends on SCSI && INFINIBAND_ADDR_TRANS
select SCSI_SRP_ATTRS
---help---
Support for the SCSI RDMA Protocol over InfiniBand. This
OpenPOWER on IntegriCloud