Commit f20b9620 authored by James Bottomley's avatar James Bottomley

Add irqreturn_t to scsi/psi240i

parent 495e82e3
...@@ -367,7 +367,7 @@ irqerror:; ...@@ -367,7 +367,7 @@ irqerror:;
SCpnt->result = DecodeError (shost, status); SCpnt->result = DecodeError (shost, status);
SCpnt->scsi_done (SCpnt); SCpnt->scsi_done (SCpnt);
} }
static void do_Irq_Handler (int irq, void *dev_id, struct pt_regs *regs) static irqreturn_t do_Irq_Handler (int irq, void *dev_id, struct pt_regs *regs)
{ {
unsigned long flags; unsigned long flags;
struct Scsi_Host *dev = dev_id; struct Scsi_Host *dev = dev_id;
...@@ -375,6 +375,8 @@ static void do_Irq_Handler (int irq, void *dev_id, struct pt_regs *regs) ...@@ -375,6 +375,8 @@ static void do_Irq_Handler (int irq, void *dev_id, struct pt_regs *regs)
spin_lock_irqsave(dev->host_lock, flags); spin_lock_irqsave(dev->host_lock, flags);
Irq_Handler(irq, dev_id, regs); Irq_Handler(irq, dev_id, regs);
spin_unlock_irqrestore(dev->host_lock, flags); spin_unlock_irqrestore(dev->host_lock, flags);
/* FIXME: we should check to see if this is true */
return IRQ_HANDLED;
} }
/**************************************************************** /****************************************************************
* Name: Psi240i_QueueCommand * Name: Psi240i_QueueCommand
......
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