diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-03 02:02:14 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-03 02:02:14 -0400 |
| commit | 948d12cbc30b85dc9effbaaf506b2eeefaefea07 (patch) | |
| tree | fff63744309ee810db882aeefbbc95a25234ecf0 | |
| parent | 090495b54fabc88169aedebb2b3831a3b9ef174c (diff) | |
sh64: cleanup struct irqaction initializers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
| -rw-r--r-- | arch/sh64/kernel/time.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c index b37f4f4981d2..06f3c179e345 100644 --- a/arch/sh64/kernel/time.c +++ b/arch/sh64/kernel/time.c | |||
| @@ -476,8 +476,18 @@ static irqreturn_t sh64_rtc_interrupt(int irq, void *dev_id) | |||
| 476 | return IRQ_HANDLED; | 476 | return IRQ_HANDLED; |
| 477 | } | 477 | } |
| 478 | 478 | ||
| 479 | static struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL}; | 479 | static struct irqaction irq0 = { |
| 480 | static struct irqaction irq1 = { sh64_rtc_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "rtc", NULL, NULL}; | 480 | .handler = timer_interrupt, |
| 481 | .flags = IRQF_DISABLED, | ||
| 482 | .mask = CPU_MASK_NONE, | ||
| 483 | .name = "timer", | ||
| 484 | }; | ||
| 485 | static struct irqaction irq1 = { | ||
| 486 | .handler = sh64_rtc_interrupt, | ||
| 487 | .flags = IRQF_DISABLED, | ||
| 488 | .mask = CPU_MASK_NONE, | ||
| 489 | .name = "rtc", | ||
| 490 | }; | ||
| 481 | 491 | ||
| 482 | void __init time_init(void) | 492 | void __init time_init(void) |
| 483 | { | 493 | { |
