patch-2.1.125 linux/drivers/net/3c523.c

Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/char/videodev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.124/linux/drivers/net/3c523.c linux/drivers/net/3c523.c
@@ -1255,8 +1255,9 @@
 /*************************************************************************/
 
 #ifdef MODULE
+static char devicename[9] = { 0, };
 static struct device dev_elmc = {
-	"        " /*"3c523"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, elmc_probe };
+	devicename /*"3c523"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, elmc_probe };
 
 static int irq=0;
 static int io=0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov