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

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

diff -u --recursive --new-file v1.3.18/linux/drivers/net/de4x5.c linux/drivers/net/de4x5.c
@@ -2735,8 +2735,9 @@
 
 #ifdef MODULE
 char kernel_version[] = UTS_RELEASE;
+static char devicename[9] = { 0, };
 static struct device thisDE4X5 = {
-  "        ", /* device name inserted by /linux/drivers/net/net_init.c */
+  devicename, /* device name is inserted by linux/drivers/net/net_init.c */
   0, 0, 0, 0,
   0x2000, 10, /* I/O address, IRQ */
   0, 0, 0, NULL, de4x5_probe };

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