[PATCH] Orinoco 2.5.39 include fix

newsgate@linuxguru.net
Sun, 29 Sep 2002 16:11:59 -0400


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/