summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-11-04 23:07:46 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-06 03:50:13 +0100
commit5cdec679671741bcca1f8280699a64b42c9fa2b4 (patch)
treefd6c145593ff1c901a9980765952700586d6fe20 /drivers/net/phy
parentamd-xgbe: Let AMD_XGBE depend on HAS_IOMEM (diff)
downloadlinux-5cdec679671741bcca1f8280699a64b42c9fa2b4.tar.xz
linux-5cdec679671741bcca1f8280699a64b42c9fa2b4.zip
amd-xgbe-phy: Let AMD_XGBE_PHY depend on HAS_IOMEM
The amd-xgbe-phy driver needs to perform ioremap calls, so add HAS_IOMEM to its build dependency. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 75472cf734de..b4b0f804e84c 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -26,7 +26,7 @@ config AMD_PHY
config AMD_XGBE_PHY
tristate "Driver for the AMD 10GbE (amd-xgbe) PHYs"
- depends on OF
+ depends on OF && HAS_IOMEM
---help---
Currently supports the AMD 10GbE PHY