* [PATCH] drivers/net/dnet.c needs <linux/io.h>
@ 2009-03-24 19:43 Geert Uytterhoeven
2009-03-24 20:19 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2009-03-24 19:43 UTC (permalink / raw)
To: David S. Miller, Ilya Yanok; +Cc: netdev, Linux Kernel Development
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>
---
drivers/net/dnet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index 1b40632..edf23c9 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>
--
1.6.2
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] drivers/net/dnet.c needs <linux/io.h>
2009-03-24 19:43 [PATCH] drivers/net/dnet.c needs <linux/io.h> Geert Uytterhoeven
@ 2009-03-24 20:19 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-03-24 20:19 UTC (permalink / raw)
To: geert; +Cc: yanok, netdev, linux-kernel
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Tue, 24 Mar 2009 20:43:25 +0100 (CET)
> 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>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-24 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-24 19:43 [PATCH] drivers/net/dnet.c needs <linux/io.h> Geert Uytterhoeven
2009-03-24 20:19 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®