Skip to content

Commit 3c0596f

Browse files
ffainellidavem330
authored andcommitted
net: phy: Allow MDIO_MOXART and MDIO_SUN4I with COMPILE_TEST
Those drivers build just fine with COMPILE_TEST, so make that possible. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 78cc6e7 commit 3c0596f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/phy/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ config MDIO_I2C
118118

119119
config MDIO_MOXART
120120
tristate "MOXA ART MDIO interface support"
121-
depends on ARCH_MOXART
121+
depends on ARCH_MOXART || COMPILE_TEST
122122
help
123123
This driver supports the MDIO interface found in the network
124124
interface units of the MOXA ART SoC
@@ -142,7 +142,7 @@ config MDIO_OCTEON
142142

143143
config MDIO_SUN4I
144144
tristate "Allwinner sun4i MDIO interface support"
145-
depends on ARCH_SUNXI
145+
depends on ARCH_SUNXI || COMPILE_TEST
146146
help
147147
This driver supports the MDIO interface found in the network
148148
interface units of the Allwinner SoC that have an EMAC (A10,

0 commit comments

Comments
 (0)