Commit 0dafd941 authored by David S. Miller's avatar David S. Miller

[SCSI QLOGICFC]: Update for irqreturn_t.

parent 7034227a
......@@ -660,7 +660,7 @@ static int isp2x00_reset_hardware(struct Scsi_Host *);
static int isp2x00_mbox_command(struct Scsi_Host *, u_short[]);
static int isp2x00_return_status(Scsi_Cmnd *, struct Status_Entry *);
static void isp2x00_intr_handler(int, void *, struct pt_regs *);
static void do_isp2x00_intr_handler(int, void *, struct pt_regs *);
static irqreturn_t do_isp2x00_intr_handler(int, void *, struct pt_regs *);
static int isp2x00_make_portdb(struct Scsi_Host *);
#if ISP2x00_FABRIC
......@@ -1421,7 +1421,7 @@ static void redo_port_db(unsigned long arg)
#define ASYNC_EVENT_INTERRUPT 0x01
void do_isp2x00_intr_handler(int irq, void *dev_id, struct pt_regs *regs)
irqreturn_t do_isp2x00_intr_handler(int irq, void *dev_id, struct pt_regs *regs)
{
struct Scsi_Host *host = dev_id;
unsigned long flags;
......@@ -1429,6 +1429,8 @@ void do_isp2x00_intr_handler(int irq, void *dev_id, struct pt_regs *regs)
spin_lock_irqsave(host->host_lock, flags);
isp2x00_intr_handler(irq, dev_id, regs);
spin_unlock_irqrestore(host->host_lock, flags);
return IRQ_HANDLED;
}
void isp2x00_intr_handler(int irq, void *dev_id, struct pt_regs *regs)
......
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