[2.5 patch] drivers/hotplug/cpqphp.h must include tqueue.h

Adrian Bunk (bunk@fs.tum.de)
Wed, 19 Jun 2002 23:31:50 +0200 (CEST)


Hi,

another tqueue.h compile problem: It's needed in drivers/hotplug/cpqphp.h,
otherwise compilation fails:

<-- snip -->

...
gcc -Wp,-MD,./.cpqphp_core.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2.5.23/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=k6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=cpqphp_core -c -o
cpqphp_core.o cpqphp_core.c
In file included from cpqphp_core.c:39:
cpqphp.h:322: field `int_task_event' has incomplete type
make[2]: *** [cpqphp_core.o] Error 1
make[2]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.23/drivers/hotplug'

<-- snip -->

--- drivers/hotplug/cpqphp.h.old Wed Jun 19 23:19:02 2002
+++ drivers/hotplug/cpqphp.h Wed Jun 19 23:20:15 2002
@@ -29,6 +29,7 @@
#define _CPQPHP_H

#include "pci_hotplug.h"
+#include <linux/tqueue.h>
#include <asm/io.h> /* for read? and write? functions */

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/