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

Next file: linux/net/decnet/dn_dev.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/net/decnet/af_decnet.c linux/net/decnet/af_decnet.c
@@ -1954,7 +1954,7 @@
 static int dn_device_event(struct notifier_block *this, unsigned long event,
 			void *ptr)
 {
-	struct device *dev = (struct device *)ptr;
+	struct net_device *dev = (struct net_device *)ptr;
 
 	switch(event) {
 		case NETDEV_UP:
@@ -1975,7 +1975,7 @@
 	0
 };
 
-extern int dn_route_rcv(struct sk_buff *, struct device *, struct packet_type *);
+extern int dn_route_rcv(struct sk_buff *, struct net_device *, struct packet_type *);
 
 static struct packet_type dn_dix_packet_type = 
 {

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