2002-10-07 21:02:41

by Wichert Akkerman

[permalink] [raw]
Subject: [PATCH] 2.5.41 orinoco_cs.c compile failure

Compile fails since orinoco_cs.c tries to use the no longer existing
linux/tqueue.h header. Patch below seems to fix it.

Wichert.


--- drivers/net/wireless/orinoco_cs.c.orig 2002-10-07 23:03:44.000000000 +0200
+++ drivers/net/wireless/orinoco_cs.c 2002-10-07 23:04:16.000000000 +0200
@@ -32,7 +32,7 @@
#include <linux/if_arp.h>
#include <linux/etherdevice.h>
#include <linux/wireless.h>
-#include <linux/tqueue.h>
+#include <linux/workqueue.h>

#include <pcmcia/version.h>
#include <pcmcia/cs_types.h>

--
_________________________________________________________________
/[email protected] This space intentionally left occupied \
| [email protected] http://www.wiggy.net/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |


2002-10-07 21:33:19

by Martin Waitz

[permalink] [raw]
Subject: Re: [PATCH] 2.5.41 orinoco_cs.c compile failure

hi :)

On Mon, Oct 07, 2002 at 11:08:17PM +0200, Wichert Akkerman wrote:
> -#include <linux/tqueue.h>
> +#include <linux/workqueue.h>

adding workqueue isn't even needed, just remove tqueue.h

--
CU, / Friedrich-Alexander University Erlangen, Germany
Martin Waitz // [Tali on IRCnet] [tali.home.pages.de] _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet //
tippfehler und ist auch ohne grossbuchstaben gueltig. /
-
Wer bereit ist, grundlegende Freiheiten aufzugeben, um sich
kurzfristige Sicherheit zu verschaffen, der hat weder Freiheit
noch Sicherheit verdient.
Benjamin Franklin (1706 - 1790)


Attachments:
(No filename) (697.00 B)
(No filename) (189.00 B)
Download all attachments

2002-10-07 21:57:26

by Wichert Akkerman

[permalink] [raw]
Subject: Re: [PATCH] 2.5.41 orinoco_cs.c compile failure

Previously Martin Waitz wrote:
> adding workqueue isn't even needed, just remove tqueue.h

That was supposed to be the second patch, but 2.5.41 does not work on
my laptop at all so I didn't get around to that.

Wichert.

--
_________________________________________________________________
/[email protected] This space intentionally left occupied \
| [email protected] http://www.wiggy.net/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |

2002-10-08 00:35:57

by David Gibson

[permalink] [raw]
Subject: Re: [PATCH] 2.5.41 orinoco_cs.c compile failure

On Mon, Oct 07, 2002 at 11:08:17PM +0200, Wichert Akkerman wrote:
> Compile fails since orinoco_cs.c tries to use the no longer existing
> linux/tqueue.h header. Patch below seems to fix it.

Appears to be fixed already.

> +++ drivers/net/wireless/orinoco_cs.c 2002-10-07 23:04:16.000000000 +0200
> @@ -32,7 +32,7 @@
> #include <linux/if_arp.h>
> #include <linux/etherdevice.h>
> #include <linux/wireless.h>
> -#include <linux/tqueue.h>
> +#include <linux/workqueue.h>
>
> #include <pcmcia/version.h>
> #include <pcmcia/cs_types.h>
>

--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson