Commit b3a00c91 authored by Chen Gang's avatar Chen Gang Committed by David S. Miller

drivers/net/phy/Kconfig: Let MDIO_BCM_UNIMAC depend on HAS_IOMEM

MDIO_BCM_UNIMAC needs HAS_IOMEM, so depend on it, the related error (
with allmodconfig under um):

    MODPOST 1205 modules
  ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined!
Signed-off-by: default avatarChen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bec3cfdc
...@@ -205,6 +205,7 @@ config MDIO_BUS_MUX_MMIOREG ...@@ -205,6 +205,7 @@ config MDIO_BUS_MUX_MMIOREG
config MDIO_BCM_UNIMAC config MDIO_BCM_UNIMAC
tristate "Broadcom UniMAC MDIO bus controller" tristate "Broadcom UniMAC MDIO bus controller"
depends on HAS_IOMEM
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment