summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/hns/Kconfig
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2017-06-08 17:23:50 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-28 14:48:26 -0400
commite89bf462b6bece63a60723af88c76dce9dbe6b85 (patch)
treec2c0debd430d08e3b7f8a786b1275fd340a00c13 /drivers/infiniband/hw/hns/Kconfig
parent3c7f67d1880db4bda8eed12ca603c92b5434390e (diff)
IB/hns: Support compile test for hns RoCE driver
Compiling the hns RoCE driver requires ARM architecture. In order to simplify development of IB/core, support compile test. Add the necessary includes for that too. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/Kconfig')
-rw-r--r--drivers/infiniband/hw/hns/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/Kconfig b/drivers/infiniband/hw/hns/Kconfig
index e1a6e055cd60..cbe6b51394fd 100644
--- a/drivers/infiniband/hw/hns/Kconfig
+++ b/drivers/infiniband/hw/hns/Kconfig
@@ -1,7 +1,7 @@
config INFINIBAND_HNS
tristate "HNS RoCE Driver"
depends on NET_VENDOR_HISILICON
- depends on ARM64 && HNS && HNS_DSAF && HNS_ENET
+ depends on (ARM64 || COMPILE_TEST) && HNS && HNS_DSAF && HNS_ENET
---help---
This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
is used in Hisilicon Hi1610 and more further ICT SoC.