patch-2.3.14 linux/net/irda/af_irda.c
Next file: linux/net/irda/irda_device.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 18 11:38:49 1999
- Orig file:
v2.3.13/linux/net/irda/af_irda.c
- Orig date:
Mon Jun 7 16:18:58 1999
diff -u --recursive --new-file v2.3.13/linux/net/irda/af_irda.c linux/net/irda/af_irda.c
@@ -44,7 +44,7 @@
extern int irda_init(void);
extern void irda_cleanup(void);
-extern int irlap_driver_rcv(struct sk_buff *, struct device *,
+extern int irlap_driver_rcv(struct sk_buff *, struct net_device *,
struct packet_type *);
static struct proto_ops irda_stream_ops;
@@ -1383,7 +1383,7 @@
static int irda_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;
DEBUG(3, __FUNCTION__ "()\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)