Commit 5ac8451a authored by Shachar Shemesh's avatar Shachar Shemesh Committed by James Bottomley

[PATCH] Fix IRDA irq handler prototype

This fixes a mismatch in declaration between "irport_interrupt" in the
header files (returning void) and in the definition (returning
irqreturn_t).
parent ddc4b477
...@@ -81,7 +81,7 @@ int irport_close(struct irport_cb *self); ...@@ -81,7 +81,7 @@ int irport_close(struct irport_cb *self);
void irport_start(struct irport_cb *self); void irport_start(struct irport_cb *self);
void irport_stop(struct irport_cb *self); void irport_stop(struct irport_cb *self);
void irport_change_speed(void *priv, __u32 speed); 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_hard_xmit(struct sk_buff *skb, struct net_device *dev);
int irport_net_open(struct net_device *dev); int irport_net_open(struct net_device *dev);
int irport_net_close(struct net_device *dev); int irport_net_close(struct net_device *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment