Browse Source

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>
Lendacky, Thomas 11 years ago
parent
commit
5cdec67967
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/phy/Kconfig

+ 1 - 1
drivers/net/phy/Kconfig

@@ -26,7 +26,7 @@ config AMD_PHY
 
 
 config AMD_XGBE_PHY
 config AMD_XGBE_PHY
 	tristate "Driver for the AMD 10GbE (amd-xgbe) PHYs"
 	tristate "Driver for the AMD 10GbE (amd-xgbe) PHYs"
-	depends on OF
+	depends on OF && HAS_IOMEM
 	---help---
 	---help---
 	  Currently supports the AMD 10GbE PHY
 	  Currently supports the AMD 10GbE PHY