patch-2.1.125 linux/drivers/net/ni52.c

Next file: linux/drivers/net/ppp.c
Previous file: linux/drivers/net/ni5010.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.124/linux/drivers/net/ni52.c linux/drivers/net/ni52.c
@@ -1303,8 +1303,9 @@
 }
 
 #ifdef MODULE
+static char devicename[9] = { 0, };
 static struct device dev_ni52 = {
-	"				",	/* "ni5210": device name inserted by net_init.c */
+	devicename,	/* "ni5210": device name inserted by net_init.c */
 	0, 0, 0, 0,
 	0x300, 9,	 /* I/O address, IRQ */
 	0, 0, 0, NULL, ni52_probe };

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