net: phy: MDIO_BCM_UNIMAC should depend on OF_MDIO
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 Mar 2017 17:01:18 +0000 (10:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2017 19:51:04 +0000 (12:51 -0700)
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>
drivers/net/phy/Kconfig

index 8dbd59baa34d5ed9eda97396f38b5ab38e96416a..7ab4b14a43b73938287d66774b9ec2c0e3de85ff 100644 (file)
@@ -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