Re: linux-next: Tree for March 20 - dnet build break on s390

From: Heiko Carstens
Date: Fri Mar 20 2009 - 05:14:24 EST


dnet: Dave DNET breaks an allyesconfig build on s390:

CC drivers/net/dnet.o
drivers/net/dnet.c: In function 'dnet_readw_mac':
drivers/net/dnet.c:36: error: implicit declaration of function 'writel'
drivers/net/dnet.c:43: error: implicit declaration of function 'readl'
drivers/net/dnet.c: In function 'dnet_probe':
drivers/net/dnet.c:873: error: implicit declaration of function 'ioremap'
drivers/net/dnet.c:873: warning: assignment makes pointer from integer without a cast
drivers/net/dnet.c:939: error: implicit declaration of function 'iounmap'

Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---
drivers/net/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-next/drivers/net/Kconfig
===================================================================
--- linux-next.orig/drivers/net/Kconfig
+++ linux-next/drivers/net/Kconfig
@@ -1042,7 +1042,7 @@ config NI65

config DNET
tristate "Dave ethernet support (DNET)"
- depends on NET_ETHERNET
+ depends on NET_ETHERNET && HAS_IOMEM
select PHYLIB
help
The Dave ethernet interface (DNET) is found on Qong Board FPGA.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/