Skip to contentSkip to conversation

Fix stupid compile error in wavelan_cs

PATCH New Jean Tourrilhes 1 participant 1 message Sep 11, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix stupid compile error in wavelan_cs

	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

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

drivers/net/pcmcia/wavelan_cs.h renamed from drivers/net/pcmcia/wavelan_cs.b1.h +1 -0
diff -u -p linux/drivers/net/pcmcia/wavelan_cs.b1.h linux/drivers/net/pcmcia/wavelan_cs.h
@@ -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 */
drivers/net/pcmcia/wavelan_cs.c renamed from drivers/net/pcmcia/wavelan_cs.b1.c +1 -2
diff -u -p linux/drivers/net/pcmcia/wavelan_cs.b1.c linux/drivers/net/pcmcia/wavelan_cs.c
@@ -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 **************************/