Commit dcd887b6 authored by David S. Miller's avatar David S. Miller

[MYRI_SBUS]: Update for irqreturn_t.

parent c2f71c4c
...@@ -533,7 +533,7 @@ static void myri_rx(struct myri_eth *mp, struct net_device *dev) ...@@ -533,7 +533,7 @@ static void myri_rx(struct myri_eth *mp, struct net_device *dev)
} }
} }
static void myri_interrupt(int irq, void *dev_id, struct pt_regs *regs) static irqreturn_t myri_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{ {
struct net_device *dev = (struct net_device *) dev_id; struct net_device *dev = (struct net_device *) dev_id;
struct myri_eth *mp = (struct myri_eth *) dev->priv; struct myri_eth *mp = (struct myri_eth *) dev->priv;
...@@ -567,6 +567,8 @@ static void myri_interrupt(int irq, void *dev_id, struct pt_regs *regs) ...@@ -567,6 +567,8 @@ static void myri_interrupt(int irq, void *dev_id, struct pt_regs *regs)
DIRQ(("\n")); DIRQ(("\n"));
spin_unlock_irqrestore(&mp->irq_lock, flags); spin_unlock_irqrestore(&mp->irq_lock, flags);
return IRQ_HANDLED;
} }
static int myri_open(struct net_device *dev) static int myri_open(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