summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/actions
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-08-25 09:25:13 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-25 14:06:53 +0300
commitfbcf8a340150abd20bf44fc706362b0827157fe8 (patch)
tree55ea4eeab01311f24581e53070cb8f600655111c /drivers/net/ethernet/actions
parent1c74b89171c39eabc0faba7eb0500c3d73a0e1d1 (diff)
downloadlinux-fbcf8a340150abd20bf44fc706362b0827157fe8.tar.xz
net: ethernet: actions: Add helper dependency on COMPILE_TEST
it's helpful for complie test in other platform(e.g.X86) Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/actions')
-rw-r--r--drivers/net/ethernet/actions/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/actions/Kconfig b/drivers/net/ethernet/actions/Kconfig
index ccad6a3f4d6f..f630cac2ab6c 100644
--- a/drivers/net/ethernet/actions/Kconfig
+++ b/drivers/net/ethernet/actions/Kconfig
@@ -2,8 +2,8 @@
config NET_VENDOR_ACTIONS
bool "Actions Semi devices"
- default y
- depends on ARCH_ACTIONS
+ depends on ARCH_ACTIONS || COMPILE_TEST
+ default ARCH_ACTIONS
help
If you have a network (Ethernet) card belonging to this class, say Y.