patch-2.3.14 linux/net/802/p8022.c

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

diff -u --recursive --new-file v2.3.13/linux/net/802/p8022.c linux/net/802/p8022.c
@@ -47,7 +47,7 @@
 	return proto;
 }
 
-int p8022_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt)
+int p8022_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt)
 {
 	struct datalink_proto	*proto;
 
@@ -68,7 +68,7 @@
 static void p8022_datalink_header(struct datalink_proto *dl,
 		struct sk_buff *skb, unsigned char *dest_node)
 {
-	struct device	*dev = skb->dev;
+	struct net_device	*dev = skb->dev;
 	unsigned char	*rawp;
 
 	rawp = skb_push(skb,3);
@@ -96,7 +96,7 @@
 	dev_add_pack(&p8022_packet_type);
 }
 
-struct datalink_proto *register_8022_client(unsigned char type, int (*rcvfunc)(struct sk_buff *, struct device *, struct packet_type *))
+struct datalink_proto *register_8022_client(unsigned char type, int (*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *))
 {
 	struct datalink_proto	*proto;
 

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