[2.5 patch] i2o_proc.c mneeds tqueue.h

From: Adrian Bunk (bunk@fs.tum.de)
Date: Fri Jun 21 2002 - 03:30:09 EST


Hi,

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

<-- snip -->

...
  gcc -Wp,-MD,./.i2o_proc.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=i2o_proc -c -o i2o_proc.o i2o_proc.c
In file included from i2o_proc.c:55:
i2o_lan.h:139: field `i2o_batch_send_task' has incomplete type
make[3]: *** [i2o_proc.o] Error 1
make[3]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.24-full/drivers/message/i2o'

<-- snip -->

--- drivers/message/i2o/i2o_proc.c.old Fri Jun 21 09:23:14 2002
+++ drivers/message/i2o/i2o_proc.c Fri Jun 21 09:24:18 2002
@@ -47,6 +47,7 @@
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/spinlock.h>
+#include <linux/tqueue.h>

 #include <asm/io.h>
 #include <asm/uaccess.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/



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:24 EST