amd-xgbe: Let AMD_XGBE depend on HAS_IOMEM
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 4 Nov 2014 22:07:41 +0000 (16:07 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 02:50:13 +0000 (21:50 -0500)
The amd-xgbe 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/ethernet/amd/Kconfig

index 8319c99331b0593b295b8c20e3ba53a562c60024..7a5e4aa5415e2652a13d9624a70003a5e2f6ad3d 100644 (file)
@@ -179,7 +179,7 @@ config SUNLANCE
 
 config AMD_XGBE
        tristate "AMD 10GbE Ethernet driver"
-       depends on OF_NET
+       depends on OF_NET && HAS_IOMEM
        select PHYLIB
        select AMD_XGBE_PHY
        select BITREVERSE