summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-03-23 10:01:18 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-24 12:51:04 -0700
commit17487eebaf5799f7a2e78364cc94fb84e37300a2 (patch)
tree6ddd76be24a9fd6d8b9e97e1b098192cdd0ec882 /drivers/net/phy
parente6e14f63d744cede856ba5d517d6b266c9cfbf41 (diff)
downloadlinux-17487eebaf5799f7a2e78364cc94fb84e37300a2.tar.gz
linux-17487eebaf5799f7a2e78364cc94fb84e37300a2.tar.bz2
linux-17487eebaf5799f7a2e78364cc94fb84e37300a2.zip
net: phy: MDIO_BCM_UNIMAC should depend on OF_MDIO
The Broadcom MDIO UniMAC driver uses routines provided by of_mdio.c which is guarded by CONFIG_OF_MDIO. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 8dbd59baa34d..7ab4b14a43b7 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -40,7 +40,7 @@ config MDIO_BCM_IPROC
config MDIO_BCM_UNIMAC
tristate "Broadcom UniMAC MDIO bus controller"
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && OF_MDIO
help
This module provides a driver for the Broadcom UniMAC MDIO busses.
This hardware can be found in the Broadcom GENET Ethernet MAC