]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
dnet: drivers/net/dnet.c needs <linux/io.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 24 Mar 2009 20:19:50 +0000 (13:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2009 20:19:50 +0000 (13:19 -0700)
On m68k:
| 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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dnet.c

index 1b4063222a82dd010dcbd9944a4e005438636ba0..edf23c9ea63c669daaca2108723b5b374c3e059d 100644 (file)
@@ -9,6 +9,7 @@
  * published by the Free Software Foundation.
  */
 #include <linux/version.h>
+#include <linux/io.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/kernel.h>