aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2009-03-24 13:19:50 -0700
committerDavid S. Miller <davem@davemloft.net>2009-03-24 13:19:50 -0700
commit142071b83426674ef2dab98cf2a6627328d0988e (patch)
tree17318bec934b913f34b4c9f5446bebbe1a3fdaa1
parent30842f2989aacfaba3ccb39829b3417be9313dbe (diff)
dnet: drivers/net/dnet.c needs <linux/io.h>
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>
-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>