patch-2.3.15 linux/drivers/net/dlci.c

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

diff -u --recursive --new-file v2.3.14/linux/drivers/net/dlci.c linux/drivers/net/dlci.c
@@ -421,7 +421,7 @@
 	char			buf[10];
 
 	/* validate slave device */
-	slave = dev_get(dlci->devname);
+	slave = __dev_get_by_name(dlci->devname);
 	if (!slave)
 		return(-ENODEV);
 
@@ -504,7 +504,7 @@
 	int			i, err;
 
 	/* validate slave device */
-	master = dev_get(dlci->devname);
+	master = __dev_get_by_name(dlci->devname);
 	if (!master)
 		return(-ENODEV);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)