small IRDA compilation error
PATCH 1/1 small IRDA compilation error
This patch is against CVS tip.
Fixed a mismatch in declaration between "irport_interrupt" in the header files (returning void) and in the definition (returning irqreturn_t).
I'm not subscribed to irda-users, so please also reply in private.
Index: include/net/irda/irport.h
===================================================================
RCS file: /home/sun/sources/cvs/linux-2.5/include/net/irda/irport.h,v retrieving revision 1.2
net/irda/irport.h 22 Apr 2003 11:54:53 -0000 renamed from net/irda/irport.h 5 Feb 2002 17:40:40 -0000 1.2 +0 -0
@@ -81,7 +81,7 @@
void irport_start(struct irport_cb *self);
void irport_stop(struct irport_cb *self);
void irport_change_speed(void *priv, __u32 speed);
-void irport_interrupt(int irq, void *dev_id, struct pt_regs *regs); +irqreturn_t irport_interrupt(int irq, void *dev_id, struct pt_regs *regs);
int irport_hard_xmit(struct sk_buff *skb, struct net_device *dev); int irport_net_open(struct net_device *dev); int irport_net_close(struct net_device *dev);
Signature · 3 lines
Shachar Shemesh Open Source integration consultant Home page & resume - http://www.shemesh.biz/