Messages in this thread Patch in this message | | | Date | Mon, 30 Sep 2002 12:52:55 +0200 (CEST) | From | Adrian Bunk <> | Subject | [-dj patch] fix compilation of eisa.c |
| |
Hi Dave,
eisa.c doesn't compile in 2.5.39-dj2:
<-- snip -->
... gcc -Wp,-MD,./.eisa.o.d -D__KERNEL__ -I/home/bunk/linux/kernel-2.5/linux-2.5.39-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -I/home/bunk/linux/kernel-2.5/linux-2.5.39-full/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=eisa -c -o eisa.o eisa.c eisa.c:14: parse error before `init_eisa' ... make[1]: *** [eisa.o] Error 1 make[1]: Leaving directory `/home/bunk/linux/kernel-2.5/linux-2.5.39-full/arch/i386/kernel'
<-- snip -->
The fix is simple:
--- linux-2.5.39-full/arch/i386/kernel/eisa.c.old 2002-09-30 12:44:55.000000000 +0200 +++ linux-2.5.39-full/arch/i386/kernel/eisa.c 2002-09-30 12:45:48.000000000 +0200 @@ -6,6 +6,7 @@ */
#include <linux/device.h> +#include <linux/init.h> #include <linux/slab.h> #include <asm/io.h>
cu Adrian
--
You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |