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

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

diff -u --recursive --new-file v2.3.13/linux/net/802/fddi.c linux/net/802/fddi.c
@@ -51,7 +51,7 @@
  * daddr=NULL	means leave destination address (eg unresolved arp)
  */
 
-int fddi_header(struct sk_buff	*skb, struct device *dev, unsigned short type,
+int fddi_header(struct sk_buff	*skb, struct net_device *dev, unsigned short type,
 		void *daddr, void *saddr, unsigned len)
 {
 	int hl = FDDI_K_SNAP_HLEN;
@@ -120,7 +120,7 @@
  * the proper pointer to the start of packet data (skb->data).
  */
  
-unsigned short fddi_type_trans(struct sk_buff *skb, struct device *dev)
+unsigned short fddi_type_trans(struct sk_buff *skb, struct net_device *dev)
 {
 	struct fddihdr *fddi = (struct fddihdr *)skb->data;
 	unsigned short type;

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