]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/stmmac/: add HAS_IOMEM dependency
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Oct 2010 11:17:13 +0000 (11:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Oct 2010 06:42:43 +0000 (23:42 -0700)
commiteb83dae162d3263124c95043262656c4f6d3bc3f
tree1590bc39644805e3b1e8f59d2763255637e04474
parente1e58df7f2b3d0f6878738eb9fe7eea1ede21987
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>
drivers/net/stmmac/Kconfig