diff options
author | David Howells <dhowells@redhat.com> | 2006-10-05 08:06:34 -0400 |
---|---|---|
committer | David Howells <dhowells@warthog.cambridge.redhat.com> | 2006-10-05 08:28:27 -0400 |
commit | da482792a6d1a3fbaaa25fae867b343fb4db3246 (patch) | |
tree | 138c187e669bbaf997780a999299fbc977568e1c /kernel | |
parent | 57a58a9435aef3e0342ba4b2c97e0ddfea6f2c7f (diff) |
IRQ: Typedef the IRQ handler function type
Typedef the IRQ handler function type.
Signed-Off-By: David Howells <dhowells@redhat.com>
(cherry picked from 1356d1e5fd256997e3d3dce0777ab787d0515c7a commit)
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/manage.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 92be519eff26..6879202afe9a 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -427,8 +427,7 @@ EXPORT_SYMBOL(free_irq); | |||
427 | * IRQF_SAMPLE_RANDOM The interrupt can be used for entropy | 427 | * IRQF_SAMPLE_RANDOM The interrupt can be used for entropy |
428 | * | 428 | * |
429 | */ | 429 | */ |
430 | int request_irq(unsigned int irq, | 430 | int request_irq(unsigned int irq, irq_handler_t handler, |
431 | irqreturn_t (*handler)(int, void *, struct pt_regs *), | ||
432 | unsigned long irqflags, const char *devname, void *dev_id) | 431 | unsigned long irqflags, const char *devname, void *dev_id) |
433 | { | 432 | { |
434 | struct irqaction *action; | 433 | struct irqaction *action; |
@@ -475,4 +474,3 @@ int request_irq(unsigned int irq, | |||
475 | return retval; | 474 | return retval; |
476 | } | 475 | } |
477 | EXPORT_SYMBOL(request_irq); | 476 | EXPORT_SYMBOL(request_irq); |
478 | |||