From: Heiko Carstens Date: Tue, 31 Mar 2009 21:41:02 +0000 (-0700) Subject: ETHOC: fix build breakage on s390 X-Git-Tag: v2.6.30-rc1~246^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb5f5c9b3c8bee5ab4794323c1d23d100a9db59;p=pandora-kernel.git ETHOC: fix build breakage on s390 Let driver depend on HAS_IOMEM to avoid build breakage on s390: CC drivers/net/ethoc.o drivers/net/ethoc.c: In function 'ethoc_read': drivers/net/ethoc.c:221: error: implicit declaration of function 'ioread32' drivers/net/ethoc.c: In function 'ethoc_write': drivers/net/ethoc.c:226: error: implicit declaration of function 'iowrite32' drivers/net/ethoc.c: In function 'ethoc_rx': drivers/net/ethoc.c:405: error: implicit declaration of function 'memcpy_fromio' drivers/net/ethoc.c: In function 'ethoc_start_xmit': drivers/net/ethoc.c:828: error: implicit declaration of function 'memcpy_toio' Signed-off-by: Heiko Carstens Acked-by: Thierry Reding Signed-off-by: David S. Miller --- Reading git-diff-tree failed