Skip to contentSkip to conversation

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

PATCH Applied Chen Gang 2 participants 3 messages Oct 4, 2014 – Oct 6, 2014

Subsystems (3)
lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 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!

---
 drivers/net/phy/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/net/phy/Kconfig +1 -0
index 14afa4f..75472cf7 100644
@@ -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
Signature · 1 line
1.9.3
maintainer Applied
#1 lore raw

From: Chen Gang <[email protected]>
Date: Sat, 04 Oct 2014 17:54:33 +0800

Quoted 7 lines

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!

Applied, thanks.

author
#2 lore raw
Quoted 6 lines · David Miller

From: Chen Gang <[email protected]>
Date: Sat, 04 Oct 2014 17:54:33 +0800

Quoted 3 lines

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

Quoted 7 lines
Quoted 4 lines

MODPOST 1205 modules
ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined!

Applied, thanks.

Thank you for your work.

Signature · 3 lines
Chen Gang

Open, share, and attitude like air, water, and life which God blessed