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/ataflop.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/ataflop.c')
-rw-r--r-- | drivers/block/ataflop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index c39650920bdf..14d6b9492750 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c | |||
@@ -342,7 +342,7 @@ static void fd_select_drive( int drive ); | |||
342 | static void fd_deselect( void ); | 342 | static void fd_deselect( void ); |
343 | static void fd_motor_off_timer( unsigned long dummy ); | 343 | static void fd_motor_off_timer( unsigned long dummy ); |
344 | static void check_change( unsigned long dummy ); | 344 | static void check_change( unsigned long dummy ); |
345 | static irqreturn_t floppy_irq (int irq, void *dummy, struct pt_regs *fp); | 345 | static irqreturn_t floppy_irq (int irq, void *dummy); |
346 | static void fd_error( void ); | 346 | static void fd_error( void ); |
347 | static int do_format(int drive, int type, struct atari_format_descr *desc); | 347 | static int do_format(int drive, int type, struct atari_format_descr *desc); |
348 | static void do_fd_action( int drive ); | 348 | static void do_fd_action( int drive ); |
@@ -573,7 +573,7 @@ static inline void copy_buffer(void *from, void *to) | |||
573 | 573 | ||
574 | static void (*FloppyIRQHandler)( int status ) = NULL; | 574 | static void (*FloppyIRQHandler)( int status ) = NULL; |
575 | 575 | ||
576 | static irqreturn_t floppy_irq (int irq, void *dummy, struct pt_regs *fp) | 576 | static irqreturn_t floppy_irq (int irq, void *dummy) |
577 | { | 577 | { |
578 | unsigned char status; | 578 | unsigned char status; |
579 | void (*handler)( int ); | 579 | void (*handler)( int ); |