diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-16 01:26:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:04 -0700 |
commit | 977676aca32d8bc9687c76875643b72f3451a8b2 (patch) | |
tree | 00519a6339ac4271713f8a718907954353d2a41c | |
parent | 3165c0d16a1657aef39219182b6f8807566b1743 (diff) |
M32R: cleanup struct irqaction initializers
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/m32r/kernel/time.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/m32r/kernel/time.c b/arch/m32r/kernel/time.c index 3858c9f39ba..994cc155635 100644 --- a/arch/m32r/kernel/time.c +++ b/arch/m32r/kernel/time.c @@ -228,8 +228,12 @@ irqreturn_t timer_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, - "MFT2", NULL, NULL }; +struct irqaction irq0 = { + .handler = timer_interrupt, + .flags = IRQF_DISABLED, + .mask = CPU_MASK_NONE, + .name = "MFT2", +}; void __init time_init(void) { |