Skip to content

Commit

Permalink
amd-xgbe-phy: Let AMD_XGBE_PHY depend on HAS_IOMEM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lendacky, Thomas authored and David S. Miller committed Nov 6, 2014
1 parent 474809b commit 5cdec67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5cdec67

Please sign in to comment.