]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
amd-xgbe-phy: Let AMD_XGBE_PHY depend on HAS_IOMEM
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 4 Nov 2014 22:07:46 +0000 (16:07 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 02:50:13 +0000 (21:50 -0500)
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>
drivers/net/phy/Kconfig

index 75472cf734de14f53e57daa1e541701e71643c40..b4b0f804e84c937df436e68332b9f289ff16a75d 100644 (file)
@@ -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