patch-2.3.14 linux/drivers/net/irda/toshoboe.c

Next file: linux/drivers/net/irda/uircc.c
Previous file: linux/drivers/net/irda/smc-ircc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/irda/toshoboe.c linux/drivers/net/irda/toshoboe.c
@@ -267,7 +267,7 @@
 
 /*Transmit something */
 static int 
-toshoboe_hard_xmit (struct sk_buff *skb, struct device *dev)
+toshoboe_hard_xmit (struct sk_buff *skb, struct net_device *dev)
 {
   struct irda_device *idev;
   struct toshoboe_cb *self;
@@ -515,7 +515,7 @@
 
 
 static int 
-toshoboe_net_init (struct device *dev)
+toshoboe_net_init (struct net_device *dev)
 {
   DEBUG (4, __FUNCTION__ "()\n");
 
@@ -530,7 +530,7 @@
 
 
 static int 
-toshoboe_net_open (struct device *dev)
+toshoboe_net_open (struct net_device *dev)
 {
   struct irda_device *idev;
   struct toshoboe_cb *self;
@@ -594,7 +594,7 @@
 }
 
 static int 
-toshoboe_net_close (struct device *dev)
+toshoboe_net_close (struct net_device *dev)
 {
   struct irda_device *idev;
   struct toshoboe_cb *self;

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