Messages in this thread Patch in this message | | | Date | Wed, 22 Oct 2003 21:43:51 +1000 | Subject | Include linux/init.h for __init | From | Herbert Xu <> |
| |
Hi:
These two files need linux/init.h to compile on alpha.
Cheers, -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt 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> | |