[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1324994825-4197-1-git-send-email-heiko.carstens@de.ibm.com>
Date: Tue, 27 Dec 2011 15:07:05 +0100
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Heiko Carstens <heiko.carstens@...ibm.com>,
Rob Herring <rob.herring@...xeda.com>
Subject: [PATCH -next] net: calxeda xgmac ethernet driver add missing HAS_IOMEM dependency
Fix allyesconfig build on architectures without IOMEM:
drivers/net/ethernet/calxeda/xgmac.c:1800:2:
error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
Signed-off-by: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Rob Herring <rob.herring@...xeda.com>
---
drivers/net/ethernet/calxeda/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/calxeda/Kconfig b/drivers/net/ethernet/calxeda/Kconfig
index a52e725..aba435c 100644
--- a/drivers/net/ethernet/calxeda/Kconfig
+++ b/drivers/net/ethernet/calxeda/Kconfig
@@ -1,6 +1,6 @@
config NET_CALXEDA_XGMAC
tristate "Calxeda 1G/10G XGMAC Ethernet driver"
-
+ depends on HAS_IOMEM
select CRC32
help
This is the driver for the XGMAC Ethernet IP block found on Calxeda
--
1.7.7.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists