diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-03-31 17:41:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-31 17:42:46 -0400 |
commit | eeb5f5c9b3c8bee5ab4794323c1d23d100a9db59 (patch) | |
tree | c3f273cfa92207d226256337a797641d921e38de /drivers | |
parent | 321dee6e8b235c496f0a068a72d8df9a4e13ceb9 (diff) |
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 <heiko.carstens@de.ibm.com>
Acked-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index f062b424704e..c99ee38f952e 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -974,7 +974,7 @@ config ENC28J60_WRITEVERIFY | |||
974 | 974 | ||
975 | config ETHOC | 975 | config ETHOC |
976 | tristate "OpenCores 10/100 Mbps Ethernet MAC support" | 976 | tristate "OpenCores 10/100 Mbps Ethernet MAC support" |
977 | depends on NET_ETHERNET | 977 | depends on NET_ETHERNET && HAS_IOMEM |
978 | select MII | 978 | select MII |
979 | select PHYLIB | 979 | select PHYLIB |
980 | help | 980 | help |