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>
This commit is contained in:
Cai Huoqing 2021-08-25 14:25:13 +08:00 committed by David S. Miller
parent 1c74b89171
commit fbcf8a3401
1 changed files with 2 additions and 2 deletions

View File

@ -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.