]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: dsa: rzn1_a5psw: add COMPILE_TEST
authorRosen Penev <rosenp@gmail.com>
Tue, 8 Jul 2025 01:41:43 +0000 (18:41 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Jul 2025 13:41:01 +0000 (15:41 +0200)
There's no architecture specific requirement for it to compile. Allows
the bots to test compilation properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250708014144.2514-2-rosenp@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/Kconfig

index bb9812b3b0e82a7385a682c3b26258a0217cddbb..ec759f8cb0e2e042ec011204e9b8a22aeb5aae14 100644 (file)
@@ -92,7 +92,7 @@ source "drivers/net/dsa/realtek/Kconfig"
 
 config NET_DSA_RZN1_A5PSW
        tristate "Renesas RZ/N1 A5PSW Ethernet switch support"
-       depends on OF && ARCH_RZN1
+       depends on OF && (ARCH_RZN1 || COMPILE_TEST)
        select NET_DSA_TAG_RZN1_A5PSW
        select PCS_RZN1_MIIC
        help