]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: phy: Allow MDIO_MOXART and MDIO_SUN4I with COMPILE_TEST
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 17 May 2018 20:07:45 +0000 (13:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 21:11:06 +0000 (17:11 -0400)
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>
drivers/net/phy/Kconfig

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