PATCH: 2.5.40 Fix cs89x0 warnings

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Oct 06 2002 - 12:11:30 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.40/drivers/net/cs89x0.c linux.2.5.40-ac5/drivers/net/cs89x0.c
--- linux.2.5.40/drivers/net/cs89x0.c 2002-10-02 21:33:29.000000000 +0100
+++ linux.2.5.40-ac5/drivers/net/cs89x0.c 2002-10-06 00:27:50.000000000 +0100
@@ -1649,11 +1649,7 @@
 
 #ifdef MODULE
 
-static struct net_device dev_cs89x0 = {
- "",
- 0, 0, 0, 0,
- 0, 0,
- 0, 0, 0, NULL, NULL };
+static struct net_device dev_cs89x0;
 
 /*
  * Support the 'debug' module parm even if we're compiled for non-debug to
-
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 Oct 07 2002 - 22:00:54 EST