diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/scsi/aha152x.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/scsi/aha152x.c')
-rw-r--r-- | drivers/scsi/aha152x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index fb6a476eb873..e04c2bc1932b 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c | |||
@@ -673,7 +673,7 @@ static struct { | |||
673 | }; | 673 | }; |
674 | 674 | ||
675 | /* setup & interrupt */ | 675 | /* setup & interrupt */ |
676 | static irqreturn_t intr(int irq, void *dev_id, struct pt_regs *); | 676 | static irqreturn_t intr(int irq, void *dev_id); |
677 | static void reset_ports(struct Scsi_Host *shpnt); | 677 | static void reset_ports(struct Scsi_Host *shpnt); |
678 | static void aha152x_error(struct Scsi_Host *shpnt, char *msg); | 678 | static void aha152x_error(struct Scsi_Host *shpnt, char *msg); |
679 | static void done(struct Scsi_Host *shpnt, int error); | 679 | static void done(struct Scsi_Host *shpnt, int error); |
@@ -757,7 +757,7 @@ static inline Scsi_Cmnd *remove_SC(Scsi_Cmnd **SC, Scsi_Cmnd *SCp) | |||
757 | return ptr; | 757 | return ptr; |
758 | } | 758 | } |
759 | 759 | ||
760 | static irqreturn_t swintr(int irqno, void *dev_id, struct pt_regs *regs) | 760 | static irqreturn_t swintr(int irqno, void *dev_id) |
761 | { | 761 | { |
762 | struct Scsi_Host *shpnt = (struct Scsi_Host *)dev_id; | 762 | struct Scsi_Host *shpnt = (struct Scsi_Host *)dev_id; |
763 | 763 | ||
@@ -1463,7 +1463,7 @@ static void run(void) | |||
1463 | * Interrupt handler | 1463 | * Interrupt handler |
1464 | * | 1464 | * |
1465 | */ | 1465 | */ |
1466 | static irqreturn_t intr(int irqno, void *dev_id, struct pt_regs *regs) | 1466 | static irqreturn_t intr(int irqno, void *dev_id) |
1467 | { | 1467 | { |
1468 | struct Scsi_Host *shpnt = (struct Scsi_Host *)dev_id; | 1468 | struct Scsi_Host *shpnt = (struct Scsi_Host *)dev_id; |
1469 | unsigned long flags; | 1469 | unsigned long flags; |