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

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

diff -u --recursive --new-file v2.3.14/linux/drivers/net/lapbether.c linux/drivers/net/lapbether.c
@@ -38,7 +38,7 @@
 #include <linux/notifier.h>
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
-#include <linux/firewall.h>
+#include <linux/netfilter.h>
 #include <linux/module.h>
 #include <linux/lapb.h>
 #include <linux/init.h>
@@ -436,7 +436,7 @@
 
 		sprintf(buf, "lapb%d", k);
 
-		if ((odev = dev_get(buf)) == NULL || lapbeth_check_devices(odev))
+		if ((odev = __dev_get_by_name(buf)) == NULL || lapbeth_check_devices(odev))
 			break;
 	}
 

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