patch-2.3.14 linux/include/net/irda/irda_device.h

Next file: linux/include/net/irda/irlan_common.h
Previous file: linux/include/net/ipx.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/include/net/irda/irda_device.h linux/include/net/irda/irda_device.h
@@ -109,7 +109,7 @@
 	char description[32];  /* Something like "irda0 <-> ttyS0" */
 
 	struct irlap_cb *irlap; /* The link layer we are connected to  */
-	struct device netdev;   /* Yes! we are some kind of netdevice */
+	struct net_device netdev;   /* Yes! we are some kind of netdevice */
 	struct enet_statistics stats;
 
  	int flags;            /* Interface flags (see defs above) */
@@ -160,7 +160,7 @@
 void irda_device_unregister_dongle(struct dongle *dongle);
 int irda_device_register_dongle(struct dongle *dongle);
 
-int irda_device_setup(struct device *dev);
+int irda_device_setup(struct net_device *dev);
 
 void setup_dma(int channel, char *buffer, int count, int mode);
 

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