aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2009-03-24 13:19:50 -0700
committerChris Wright <chrisw@sous-sol.org>2009-04-02 13:55:14 -0700
commitdcd2d49aa7d2b6405457e042cd5f92e247ff0e10 (patch)
tree239bd2de1a492e7b796bf7ae307ec305397af457
parentefc337c45aa1e1b13188508de2593694fbe85b55 (diff)
dnet: drivers/net/dnet.c needs <linux/io.h>
[ Upstream commit 142071b83426674ef2dab98cf2a6627328d0988e ] 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> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-rw-r--r--drivers/net/dnet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index 1b4063222a8..edf23c9ea63 100644
--- a/drivers/net/dnet.c
+++ b/drivers/net/dnet.c
@@ -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>