diff options
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/irq.c b/arch/sparc/kernel/irq.c index 722d67d32961..e1e24f31aa54 100644 --- a/arch/sparc/kernel/irq.c +++ b/arch/sparc/kernel/irq.c | |||
@@ -479,7 +479,7 @@ EXPORT_SYMBOL(pdma_areasize); | |||
479 | 479 | ||
480 | extern void floppy_hardint(void); | 480 | extern void floppy_hardint(void); |
481 | 481 | ||
482 | static irqreturn_t (*floppy_irq_handler)(int irq, void *dev_id); | 482 | static irq_handler_t floppy_irq_handler; |
483 | 483 | ||
484 | void sparc_floppy_irq(int irq, void *dev_id, struct pt_regs *regs) | 484 | void sparc_floppy_irq(int irq, void *dev_id, struct pt_regs *regs) |
485 | { | 485 | { |
@@ -500,7 +500,7 @@ void sparc_floppy_irq(int irq, void *dev_id, struct pt_regs *regs) | |||
500 | } | 500 | } |
501 | 501 | ||
502 | int sparc_floppy_request_irq(int irq, unsigned long flags, | 502 | int sparc_floppy_request_irq(int irq, unsigned long flags, |
503 | irqreturn_t (*irq_handler)(int irq, void *)) | 503 | irq_handler_t irq_handler) |
504 | { | 504 | { |
505 | floppy_irq_handler = irq_handler; | 505 | floppy_irq_handler = irq_handler; |
506 | return request_fast_irq(irq, floppy_hardint, flags, "floppy"); | 506 | return request_fast_irq(irq, floppy_hardint, flags, "floppy"); |