From: Lendacky, Thomas Date: Tue, 4 Nov 2014 22:07:46 +0000 (-0600) Subject: amd-xgbe-phy: Let AMD_XGBE_PHY depend on HAS_IOMEM X-Git-Tag: firefly_0821_release~176^2~2717^2~271^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5cdec679671741bcca1f8280699a64b42c9fa2b4;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: David S. Miller --- 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