Thread (2 messages) read the whole thread 2 messages, 2 authors, 2021-08-25
STALE1803d

[PATCH] net: ethernet: actions: Add helper dependency on COMPILE_TEST

From: Cai Huoqing <hidden>
Date: 2021-08-25 06:27:23
Also in: netdev
Subsystem: arm/actions semi architecture, networking drivers, the rest · Maintainers: Andreas Färber, Manivannan Sadhasivam, Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

it's helpful for complie test in other platform(e.g.X86)

Signed-off-by: Cai Huoqing <redacted>
---
 drivers/net/ethernet/actions/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/actions/Kconfig b/drivers/net/ethernet/actions/Kconfig
index ccad6a3f4d6f..dedad1fffdc3 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.
 
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help