lkml.org 
[lkml]   [2002]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH 2.4.20] Fix stupid compile error in wavelan_cs
From
	Hi,

This fix the stupid compile error introduce by some careless
hacker in the wavelan_cs driver.
This is the *right* fix that avoid header duplication, do not
accept substitutes ;-)

Alan told me that he was going to send you the fix for the
irtty compile error.

Have fun...

Jean

------------------------------------------------------------

diff -u -p linux/drivers/net/pcmcia/wavelan_cs.b1.h linux/drivers/net/pcmcia/wavelan_cs.h
--- linux/drivers/net/pcmcia/wavelan_cs.b1.h Wed Sep 11 16:01:58 2002
+++ linux/drivers/net/pcmcia/wavelan_cs.h Wed Sep 11 16:11:14 2002
@@ -432,6 +432,7 @@
#include <linux/if_arp.h>
#include <linux/ioport.h>
#include <linux/fcntl.h>
+#include <linux/ethtool.h>

#ifdef CONFIG_NET_PCMCIA_RADIO
#include <linux/wireless.h> /* Wireless extensions */
diff -u -p linux/drivers/net/pcmcia/wavelan_cs.b1.c linux/drivers/net/pcmcia/wavelan_cs.c
--- linux/drivers/net/pcmcia/wavelan_cs.b1.c Wed Sep 11 16:01:52 2002
+++ linux/drivers/net/pcmcia/wavelan_cs.c Wed Sep 11 16:11:11 2002
@@ -63,8 +63,7 @@
*
*/

-#include <linux/ethtool.h>
-#include <asm/uaccess.h>
+/* Do *NOT* add other headers here, you are guaranteed to be wrong - Jean II */
#include "wavelan_cs.h" /* Private header */

/************************* MISC SUBROUTINES **************************/
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.046 / U:1.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site