[PATCH] small IRDA compilation error

Shachar Shemesh (lkml@shemesh.biz)
Tue, 22 Apr 2003 15:46:37 +0300


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
diff -u -r1.2 irport.h
--- include/net/irda/irport.h 5 Feb 2002 17:40:40 -0000 1.2
+++ include/net/irda/irport.h 22 Apr 2003 11:54:53 -0000
@@ -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);

-- 
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/