diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-06 17:45:34 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-14 13:37:39 -0500 |
commit | 1d119aa06fb2b2608151a162f15c480d46694b65 (patch) | |
tree | dcc6add4f4dd5109714dcc45740d70898f7e97e6 /arch/um | |
parent | 6ea96e7e4946f790330557e4b7c4c8a174c1c6d2 (diff) |
um: Convert irq_chips to new functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <20110206224515.224027758@linutronix.de>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/kernel/irq.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index c9167485431e..f771b85833e3 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c | |||
@@ -360,10 +360,10 @@ EXPORT_SYMBOL(um_request_irq); | |||
360 | EXPORT_SYMBOL(reactivate_fd); | 360 | EXPORT_SYMBOL(reactivate_fd); |
361 | 361 | ||
362 | /* | 362 | /* |
363 | * irq_chip must define (startup || enable) && | 363 | * irq_chip must define at least enable/disable and ack when |
364 | * (shutdown || disable) && end | 364 | * the edge handler is used. |
365 | */ | 365 | */ |
366 | static void dummy(unsigned int irq) | 366 | static void dummy(struct irq_data *d) |
367 | { | 367 | { |
368 | } | 368 | } |
369 | 369 | ||
@@ -371,18 +371,17 @@ static void dummy(unsigned int irq) | |||
371 | static struct irq_chip normal_irq_type = { | 371 | static struct irq_chip normal_irq_type = { |
372 | .name = "SIGIO", | 372 | .name = "SIGIO", |
373 | .release = free_irq_by_irq_and_dev, | 373 | .release = free_irq_by_irq_and_dev, |
374 | .disable = dummy, | 374 | .irq_disable = dummy, |
375 | .enable = dummy, | 375 | .irq_enable = dummy, |
376 | .ack = dummy, | 376 | .irq_ack = dummy, |
377 | }; | 377 | }; |
378 | 378 | ||
379 | static struct irq_chip SIGVTALRM_irq_type = { | 379 | static struct irq_chip SIGVTALRM_irq_type = { |
380 | .name = "SIGVTALRM", | 380 | .name = "SIGVTALRM", |
381 | .release = free_irq_by_irq_and_dev, | 381 | .release = free_irq_by_irq_and_dev, |
382 | .shutdown = dummy, /* never called */ | 382 | .irq_disable = dummy, |
383 | .disable = dummy, | 383 | .irq_enable = dummy, |
384 | .enable = dummy, | 384 | .irq_ack = dummy, |
385 | .ack = dummy, | ||
386 | }; | 385 | }; |
387 | 386 | ||
388 | void __init init_IRQ(void) | 387 | void __init init_IRQ(void) |