2002-10-06 17:16:47

by Alan

[permalink] [raw]
Subject: PATCH: 2.5.40 Fix cs89x0 warnings

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