2002-06-19 15:09:10

by Stelian Pop

[permalink] [raw]
Subject: [PATCH 2.5] include <linux/tqueue.h> in pcmcia drivers...

The pcmcia drivers haven't been updated to include the new
tqueue.h header when using tq_structs.

I noticed the breakage when compiling i82365.c for my laptop, and
took the time to modify all the drivers in that directory.

Stelian.

===== drivers/pcmcia/hd64465_ss.c 1.4 vs edited =====
--- 1.4/drivers/pcmcia/hd64465_ss.c Tue Feb 5 16:24:35 2002
+++ edited/drivers/pcmcia/hd64465_ss.c Wed Jun 19 16:34:38 2002
@@ -37,6 +37,7 @@
#include <linux/vmalloc.h>
#include <asm/errno.h>
#include <linux/irq.h>
+#include <linux/tqueue.h>

#include <asm/io.h>
#include <asm/hd64465.h>
===== drivers/pcmcia/i82092.c 1.4 vs edited =====
--- 1.4/drivers/pcmcia/i82092.c Sat Mar 23 23:55:21 2002
+++ edited/drivers/pcmcia/i82092.c Wed Jun 19 16:35:04 2002
@@ -14,6 +14,7 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
+#include <linux/tqueue.h>

#include <pcmcia/cs_types.h>
#include <pcmcia/ss.h>
===== drivers/pcmcia/i82365.c 1.11 vs edited =====
--- 1.11/drivers/pcmcia/i82365.c Tue Feb 5 16:23:06 2002
+++ edited/drivers/pcmcia/i82365.c Wed Jun 19 16:33:03 2002
@@ -46,6 +46,7 @@
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
+#include <linux/tqueue.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/bitops.h>
===== drivers/pcmcia/tcic.c 1.6 vs edited =====
--- 1.6/drivers/pcmcia/tcic.c Tue Feb 5 16:23:06 2002
+++ edited/drivers/pcmcia/tcic.c Wed Jun 19 16:36:04 2002
@@ -49,6 +49,7 @@
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
+#include <linux/tqueue.h>

#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>
--
Stelian Pop <[email protected]>
Alcove - http://www.alcove.com