drivers/net/phy/Kconfig: Let MDIO_BCM_UNIMAC depend on HAS_IOMEM
authorChen Gang <gang.chen.5i5j@gmail.com>
Sat, 4 Oct 2014 09:54:33 +0000 (17:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 04:46:27 +0000 (00:46 -0400)
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: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig

index 14afa4f2442427131396e4690cb46d3eceec6c2d..75472cf734de14f53e57daa1e541701e71643c40 100644 (file)
@@ -205,6 +205,7 @@ config MDIO_BUS_MUX_MMIOREG
 
 config MDIO_BCM_UNIMAC
        tristate "Broadcom UniMAC MDIO bus controller"
+       depends on HAS_IOMEM
        help
          This module provides a driver for the Broadcom UniMAC MDIO busses.
          This hardware can be found in the Broadcom GENET Ethernet MAC