diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-16 08:26:36 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 16:43:04 (GMT) |
commit | 977676aca32d8bc9687c76875643b72f3451a8b2 (patch) | |
tree | 00519a6339ac4271713f8a718907954353d2a41c /arch/m32r/kernel/time.c | |
parent | 3165c0d16a1657aef39219182b6f8807566b1743 (diff) | |
download | linux-fsl-qoriq-977676aca32d8bc9687c76875643b72f3451a8b2.tar.xz |
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>
Diffstat (limited to 'arch/m32r/kernel/time.c')
-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 3858c9f..994cc15 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) { |