Skip to content

Commit 17487ee

Browse files
ffainellidavem330
authored andcommitted
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>
1 parent e6e14f6 commit 17487ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ config MDIO_BCM_IPROC
4040

4141
config MDIO_BCM_UNIMAC
4242
tristate "Broadcom UniMAC MDIO bus controller"
43-
depends on HAS_IOMEM
43+
depends on HAS_IOMEM && OF_MDIO
4444
help
4545
This module provides a driver for the Broadcom UniMAC MDIO busses.
4646
This hardware can be found in the Broadcom GENET Ethernet MAC

0 commit comments

Comments
 (0)