Skip to content

Commit a3c62a0

Browse files
LorenzoBianconidavem330
authored andcommitted
net: mtk_eth: add COMPILE_TEST support
Improve the build testing of mtk_eth drivers by enabling them when COMPILE_TEST is selected. Moreover COMPILE_TEST will be useful for the driver development. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 64445dd commit a3c62a0

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/ethernet/mediatek

1 file changed

+2
-1
lines changed

drivers/net/ethernet/mediatek/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config NET_VENDOR_MEDIATEK
33
bool "MediaTek devices"
4-
depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620
4+
depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST
55
help
66
If you have a Mediatek SoC with ethernet, say Y.
77

@@ -10,6 +10,7 @@ if NET_VENDOR_MEDIATEK
1010
config NET_MEDIATEK_SOC
1111
tristate "MediaTek SoC Gigabit Ethernet support"
1212
depends on NET_DSA || !NET_DSA
13+
select PINCTRL
1314
select PHYLINK
1415
select DIMLIB
1516
help

0 commit comments

Comments
 (0)