Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Lorenzo Bianconi and committed by
David S. Miller
a3c62a04 64445dda

+2 -1
+2 -1
drivers/net/ethernet/mediatek/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config NET_VENDOR_MEDIATEK 3 3 bool "MediaTek devices" 4 - depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 4 + depends on ARCH_MEDIATEK || SOC_MT7621 || SOC_MT7620 || COMPILE_TEST 5 5 help 6 6 If you have a Mediatek SoC with ethernet, say Y. 7 7 ··· 10 10 config NET_MEDIATEK_SOC 11 11 tristate "MediaTek SoC Gigabit Ethernet support" 12 12 depends on NET_DSA || !NET_DSA 13 + select PINCTRL 13 14 select PHYLINK 14 15 select DIMLIB 15 16 help