patch-1.3.19 linux/drivers/net/hp100.c

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

diff -u --recursive --new-file v1.3.18/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -1129,8 +1129,12 @@
 
 static int hp100_port = -1;
 
+static char devicename[9] = { 0, };
 static struct device dev_hp100 = {
-  "        ", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, hp100_probe
+	devicename, /* device name is inserted by linux/drivers/net/net_init.c */
+	0, 0, 0, 0,
+	0, 0,
+	0, 0, 0, NULL, hp100_probe
 };
 
 int init_module( void )

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this