summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2014-11-04 16:07:46 -0600
committerDavid S. Miller <davem@davemloft.net>2014-11-05 21:50:13 -0500
commit5cdec679671741bcca1f8280699a64b42c9fa2b4 (patch)
treefd6c145593ff1c901a9980765952700586d6fe20 /drivers/net/phy/Kconfig
parent474809b9e1daf429047195d2394c51a6b4b09f36 (diff)
downloadop-kernel-dev-5cdec679671741bcca1f8280699a64b42c9fa2b4.zip
op-kernel-dev-5cdec679671741bcca1f8280699a64b42c9fa2b4.tar.gz
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/Kconfig')
-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 75472cf7..b4b0f80 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
OpenPOWER on IntegriCloud