[2.5 patch] drivers/net/aironet4500.h must include tqueue.h

Adrian Bunk (bunk@fs.tum.de)
Fri, 21 Jun 2002 10:36:20 +0200 (CEST)


The patch below is needed to fix the following compile error in 2.5.24-dj1
(and most likely also in 2.5.24):

<-- snip -->

...
gcc -Wp,-MD,./.aironet4500_cs.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5.24-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6
-nostdinc -iwithprefix include -DKBUILD_BASENAME=aironet4500_cs -c -o
aironet4500_cs.o aironet4500_cs.c
In file included from aironet4500_cs.c:57:
../aironet4500.h:1502: field `immediate_bh' has incomplete type
make[3]: *** [aironet4500_cs.o] Error 1
make[3]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.24-full/drivers/net/pcmcia'

<-- snip -->

--- drivers/net/aironet4500.h.old Fri Jun 21 10:31:22 2002
+++ drivers/net/aironet4500.h Fri Jun 21 10:31:54 2002
@@ -28,6 +28,7 @@
#include <linux/time.h>
*/
#include <linux/802_11.h>
+#include <linux/tqueue.h>

//damn idiot PCMCIA stuff
#ifndef DEV_NAME_LEN

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/