Browse Source

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 <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Florian Fainelli 7 years ago
parent
commit
3c0596f8be
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/net/phy/Kconfig

+ 2 - 2
drivers/net/phy/Kconfig

@@ -118,7 +118,7 @@ config MDIO_I2C
 
 
 config MDIO_MOXART
 config MDIO_MOXART
 	tristate "MOXA ART MDIO interface support"
 	tristate "MOXA ART MDIO interface support"
-	depends on ARCH_MOXART
+	depends on ARCH_MOXART || COMPILE_TEST
 	help
 	help
 	  This driver supports the MDIO interface found in the network
 	  This driver supports the MDIO interface found in the network
 	  interface units of the MOXA ART SoC
 	  interface units of the MOXA ART SoC
@@ -142,7 +142,7 @@ config MDIO_OCTEON
 
 
 config MDIO_SUN4I
 config MDIO_SUN4I
 	tristate "Allwinner sun4i MDIO interface support"
 	tristate "Allwinner sun4i MDIO interface support"
-	depends on ARCH_SUNXI
+	depends on ARCH_SUNXI || COMPILE_TEST
 	help
 	help
 	  This driver supports the MDIO interface found in the network
 	  This driver supports the MDIO interface found in the network
 	  interface units of the Allwinner SoC that have an EMAC (A10,
 	  interface units of the Allwinner SoC that have an EMAC (A10,