]> err.no Git - linux-2.6/commitdiff
[SCSI] aacraid,qla2xxx: use irq_handler_t where appropriate
authorJeff Garzik <jeff@garzik.org>
Wed, 23 May 2007 21:41:44 +0000 (14:41 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 24 May 2007 14:12:47 +0000 (09:12 -0500)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/aacraid.h
drivers/scsi/qla2xxx/qla_isr.c

index c45725e9224fe73891b31665c30485a1343eca44..a3138ee910501f7f71a679d31a373eaabf4e95ab 100644 (file)
@@ -464,7 +464,7 @@ struct adapter_ops
        int  (*adapter_restart)(struct aac_dev *dev, int bled);
        /* Transport operations */
        int  (*adapter_ioremap)(struct aac_dev * dev, u32 size);
-       irqreturn_t (*adapter_intr)(int irq, void *dev_id);
+       irq_handler_t adapter_intr;
        /* Packet operations */
        int  (*adapter_deliver)(struct fib * fib);
        int  (*adapter_bounds)(struct aac_dev * dev, struct scsi_cmnd * cmd, u64 lba);
index ca463469063d56358e2a1c91235f824175e2e738..0f04258becbf0483c0abf524fe65a5e097d3c674 100644 (file)
@@ -1633,7 +1633,7 @@ struct qla_init_msix_entry {
        uint16_t entry;
        uint16_t index;
        const char *name;
-       irqreturn_t (*handler)(int, void *);
+       irq_handler_t handler;
 };
 
 static struct qla_init_msix_entry imsix_entries[QLA_MSIX_ENTRIES] = {