[PATCH] Orinoco 2.5.39 include fix

From: newsgate@linuxguru.net
Date: Sun Sep 29 2002 - 15:11:59 EST


2.5.39 with orinoco support fails to include because of tqueue.h isn't
included. This patch fixes that so that the orinoco module compiles.

This patch has been untested because the keyboard on my Toshiba 505-S5004
has not worked since 2.5.31. :(

(An aside -- Some day I'm going to have a kernel patch accepted. Some
day...)

diff -urN linux-2.5.39/drivers/net/wireless/orinoco.c linux-2.5.39.new/drivers/net/wireless/orinoco.c
--- linux-2.5.39/drivers/net/wireless/orinoco.c 2002-09-27 17:49:54.000000000 -0400
+++ linux-2.5.39.new/drivers/net/wireless/orinoco.c 2002-09-29 15:57:30.000000000 -0400
@@ -372,6 +372,7 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
+#include <linux/tqueue.h>
 
 #include "hermes.h"
 #include "hermes_rid.h"
diff -urN linux-2.5.39/drivers/net/wireless/orinoco_cs.c linux-2.5.39.new/drivers/net/wireless/orinoco_cs.c
--- linux-2.5.39/drivers/net/wireless/orinoco_cs.c 2002-09-27 17:50:32.000000000 -0400
+++ linux-2.5.39.new/drivers/net/wireless/orinoco_cs.c 2002-09-29 15:57:17.000000000 -0400
@@ -32,6 +32,7 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
+#include <linux/tqueue.h>
 
 #include <pcmcia/version.h>
 #include <pcmcia/cs_types.h>

-- 
GnuPG fingerprint AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400
James Blackwell  --  Director http://www.linuxguru.net
-
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 : Mon Sep 30 2002 - 22:00:42 EST