aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2014-09-05 18:28:23 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-07 19:12:03 -0400
commit97a13e5289baa96eaddd06e61d277457d837af3a (patch)
tree7582af5e810e492423fcc60fb789e03947d91257
parent13aa3463e574d2ae2618306dcd3e973c5eed6d7f (diff)
net: phy: mdio-sun4i: don't select REGULATOR
The mdio-sun4i driver automatically selects REGULATOR and REGULATOR_FIXED_VOLTAGE because it uses the regulator API. But a driver selecting a subsystem increases the chance of generating circular Kconfig dependencies, especially when other drivers depend on the selected symbol. Since the regulator API functions are replaced with no-ops when REGULATOR is disabled, the driver can be built successfully even without regulator support and so those 'select' dependencies can be safely dropped. Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 28437ab9c7bd..14afa4f24424 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -159,8 +159,6 @@ config MDIO_OCTEON
159config MDIO_SUN4I 159config MDIO_SUN4I
160 tristate "Allwinner sun4i MDIO interface support" 160 tristate "Allwinner sun4i MDIO interface support"
161 depends on ARCH_SUNXI 161 depends on ARCH_SUNXI
162 select REGULATOR
163 select REGULATOR_FIXED_VOLTAGE
164 help 162 help
165 This driver supports the MDIO interface found in the network 163 This driver supports the MDIO interface found in the network
166 interface units of the Allwinner SoC that have an EMAC (A10, 164 interface units of the Allwinner SoC that have an EMAC (A10,