lkml.org 
[lkml]   [2003]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.017 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site