提交 17487eeb 编写于 作者: F Florian Fainelli 提交者: David S. Miller

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: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e6e14f63
...@@ -40,7 +40,7 @@ config MDIO_BCM_IPROC ...@@ -40,7 +40,7 @@ config MDIO_BCM_IPROC
config MDIO_BCM_UNIMAC config MDIO_BCM_UNIMAC
tristate "Broadcom UniMAC MDIO bus controller" tristate "Broadcom UniMAC MDIO bus controller"
depends on HAS_IOMEM depends on HAS_IOMEM && OF_MDIO
help help
This module provides a driver for the Broadcom UniMAC MDIO busses. This module provides a driver for the Broadcom UniMAC MDIO busses.
This hardware can be found in the Broadcom GENET Ethernet MAC This hardware can be found in the Broadcom GENET Ethernet MAC
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册