ib_srpt: depend on INFINIBAND_ADDR_TRANS
authorGreg Thelen <gthelen@google.com>
Thu, 26 Apr 2018 18:19:32 +0000 (11:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:02:50 +0000 (04:02 +0900)
commit08088b8a079331d80ca4e6f54892a9801c0eef32
tree48f7837fed88b7461d2b3d5fb2b1b7cf77571269
parent4e2b7d1687c4c4aeeed55e8cb9ff040a68cbf90e
ib_srpt: depend on INFINIBAND_ADDR_TRANS

[ Upstream commit 346a47b65d10e450778ec0d21e4a9409f25daaa8 ]

INFINIBAND_SRPT 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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/srpt/Kconfig