patch-2.3.15 linux/net/802/llc_macinit.c

Next file: linux/net/802/p8022.c
Previous file: linux/net/802/fc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/net/802/llc_macinit.c linux/net/802/llc_macinit.c
@@ -160,7 +160,7 @@
 	char eye_init[] = "LLC\0";
 
 	memset(lp, 0, sizeof(*lp));
-	lp->dev = dev_get(device);
+	lp->dev = __dev_get_by_name(device);
 	if(lp->dev == NULL)
 		return -ENODEV;
 	memcpy(lp->eye, eye_init, sizeof(lp->eye));
@@ -204,7 +204,7 @@
 
 #define ALL_TYPES_8022 0
 
-__initfunc(void llc_init(struct net_proto *proto))
+void __init llc_init(struct net_proto *proto)
 {
 	printk(KERN_NOTICE "IEEE 802.2 LLC for Linux 2.1 (c) 1996 Tim Alpaerts\n");
 	return;

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