patch-2.3.14 linux/net/decnet/sysctl_net_decnet.c

Next file: linux/net/econet/econet.c
Previous file: linux/net/decnet/dn_route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/net/decnet/sysctl_net_decnet.c linux/net/decnet/sysctl_net_decnet.c
@@ -312,7 +312,7 @@
 				void **context)
 {
 	size_t len;
-	struct device *dev = decnet_default_device;
+	struct net_device *dev = decnet_default_device;
 	char devname[17];
 	size_t namel;
 
@@ -363,7 +363,7 @@
 				void *buffer, size_t *lenp)
 {
 	int len;
-	struct device *dev = decnet_default_device;
+	struct net_device *dev = decnet_default_device;
 	char devname[17];
 
 	if (!*lenp || (filp->f_pos && !write)) {

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