[2.5 patch] don't #include tqueue.h in rio_linux.c

Adrian Bunk (bunk@fs.tum.de)
Fri, 18 Oct 2002 18:50:10 +0200 (CEST)


Compilation of rio_linux.c fails in 2.5.43 with the following error:

<-- snip -->

...
gcc -Wp,-MD,drivers/char/rio/.rio_linux.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6
-Iarch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=rio_linux -c -o
drivers/char/rio/rio_linux.o drivers/char/rio/rio_linux.c
drivers/char/rio/rio_linux.c:56: linux/tqueue.h: No such file or directory
make[3]: *** [drivers/char/rio/rio_linux.o] Error 1

<-- snip -->

With the following patch that removes the #include <linux/tqueue.h> it
compiles without errors or warnings:

--- linux-2.5.43-full/drivers/char/rio/rio_linux.c.old 2002-10-18 18:42:26.000000000 +0200
+++ linux-2.5.43-full/drivers/char/rio/rio_linux.c 2002-10-18 18:42:44.000000000 +0200
@@ -53,7 +53,6 @@
#include <linux/fcntl.h>
#include <linux/major.h>
#include <linux/delay.h>
-#include <linux/tqueue.h>
#include <linux/version.h>
#include <linux/pci.h>
#include <linux/slab.h>

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- 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/