Include linux/init.h for __init
diff mbox series

Message ID 20031022114351.GA31790@gondor.apana.org.au
State New, archived
Headers show
Series
  • Include linux/init.h for __init
Related show

Commit Message

Herbert Xu Oct. 22, 2003, 11:43 a.m. UTC
Hi:

These two files need linux/init.h to compile on alpha.

Cheers,

Patch
diff mbox series

Index: kernel-source-2.5/drivers/char/moxa.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/char/moxa.c,v
retrieving revision 1.6
diff -u -r1.6 moxa.c
--- kernel-source-2.5/drivers/char/moxa.c	11 Oct 2003 06:29:21 -0000	1.6
+++ kernel-source-2.5/drivers/char/moxa.c	22 Oct 2003 11:34:49 -0000
@@ -49,6 +49,7 @@ 
 #include <linux/tty_driver.h>
 #include <linux/delay.h>
 #include <linux/pci.h>
+#include <linux/init.h>
 
 #include <asm/system.h>
 #include <asm/io.h>
Index: kernel-source-2.5/drivers/char/mxser.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/char/mxser.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 mxser.c
--- kernel-source-2.5/drivers/char/mxser.c	8 Oct 2003 19:24:17 -0000	1.1.1.8
+++ kernel-source-2.5/drivers/char/mxser.c	22 Oct 2003 11:35:42 -0000
@@ -56,6 +56,7 @@ 
 #include <linux/mm.h>
 #include <linux/smp_lock.h>
 #include <linux/pci.h>
+#include <linux/init.h>
 
 #include <asm/system.h>
 #include <asm/io.h>