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/block/ps2esdi.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/block/ps2esdi.c')
-rw-r--r-- | drivers/block/ps2esdi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/block/ps2esdi.c b/drivers/block/ps2esdi.c index 5537974fb242..688a4fb0dc99 100644 --- a/drivers/block/ps2esdi.c +++ b/drivers/block/ps2esdi.c | |||
@@ -75,8 +75,7 @@ static int ps2esdi_out_cmd_blk(u_short * cmd_blk); | |||
75 | 75 | ||
76 | static void ps2esdi_prep_dma(char *buffer, u_short length, u_char dma_xmode); | 76 | static void ps2esdi_prep_dma(char *buffer, u_short length, u_char dma_xmode); |
77 | 77 | ||
78 | static irqreturn_t ps2esdi_interrupt_handler(int irq, void *dev_id, | 78 | static irqreturn_t ps2esdi_interrupt_handler(int irq, void *dev_id); |
79 | struct pt_regs *regs); | ||
80 | static void (*current_int_handler) (u_int) = NULL; | 79 | static void (*current_int_handler) (u_int) = NULL; |
81 | static void ps2esdi_normal_interrupt_handler(u_int); | 80 | static void ps2esdi_normal_interrupt_handler(u_int); |
82 | static void ps2esdi_initial_reset_int_handler(u_int); | 81 | static void ps2esdi_initial_reset_int_handler(u_int); |
@@ -687,8 +686,7 @@ static void ps2esdi_prep_dma(char *buffer, u_short length, u_char dma_xmode) | |||
687 | 686 | ||
688 | 687 | ||
689 | 688 | ||
690 | static irqreturn_t ps2esdi_interrupt_handler(int irq, void *dev_id, | 689 | static irqreturn_t ps2esdi_interrupt_handler(int irq, void *dev_id) |
691 | struct pt_regs *regs) | ||
692 | { | 690 | { |
693 | u_int int_ret_code; | 691 | u_int int_ret_code; |
694 | 692 | ||