diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2010-10-01 07:17:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-07 02:42:43 -0400 |
commit | 9deec17f9fe260f1b6467748fe5e16feea8e98f0 (patch) | |
tree | 1590bc39644805e3b1e8f59d2763255637e04474 /drivers/net/stmmac | |
parent | 3d3211ef5cf7558d289d1a1efbef8c45595639aa (diff) |
drivers/net/stmmac/: add HAS_IOMEM dependency
The stmmac driver does not compile on s390:
drivers/net/stmmac/stmmac_main.c: In function 'stmmac_adjust_link':
drivers/net/stmmac/stmmac_main.c:210: error: implicit declaration of function 'readl'
drivers/net/stmmac/stmmac_main.c:263: error: implicit declaration of function 'writel'
drivers/net/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
drivers/net/stmmac/stmmac_main.c:1674: error: implicit declaration of function 'ioremap'
drivers/net/stmmac/stmmac_main.c:1674: warning: assignment makes pointer from integer without a cast
drivers/net/stmmac/stmmac_main.c:1761: error: implicit declaration of function 'iounmap'
make[3]: *** [drivers/net/stmmac/stmmac_main.o] Error 1
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
-rw-r--r-- | drivers/net/stmmac/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/Kconfig b/drivers/net/stmmac/Kconfig index 3c2af7c6a39b..7df7df4e79c5 100644 --- a/drivers/net/stmmac/Kconfig +++ b/drivers/net/stmmac/Kconfig | |||
@@ -3,7 +3,7 @@ config STMMAC_ETH | |||
3 | select MII | 3 | select MII |
4 | select PHYLIB | 4 | select PHYLIB |
5 | select CRC32 | 5 | select CRC32 |
6 | depends on NETDEVICES | 6 | depends on NETDEVICES && HAS_IOMEM |
7 | help | 7 | help |
8 | This is the driver for the Ethernet IPs are built around a | 8 | This is the driver for the Ethernet IPs are built around a |
9 | Synopsys IP Core and only tested on the STMicroelectronics | 9 | Synopsys IP Core and only tested on the STMicroelectronics |