浏览代码

FRV: cleanup struct irqaction initializers

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Thomas Gleixner 18 年之前
父节点
当前提交
a2e170ea87
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      arch/frv/kernel/time.c

+ 4 - 1
arch/frv/kernel/time.c

@@ -43,7 +43,10 @@ unsigned long __delay_loops_MHz;
 static irqreturn_t timer_interrupt(int irq, void *dummy);
 static irqreturn_t timer_interrupt(int irq, void *dummy);
 
 
 static struct irqaction timer_irq  = {
 static struct irqaction timer_irq  = {
-	timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL
+	.handler = timer_interrupt,
+	.flags = IRQF_DISABLED,
+	.mask = CPU_MASK_NONE,
+	.name = "timer",
 };
 };
 
 
 static inline int set_rtc_mmss(unsigned long nowtime)
 static inline int set_rtc_mmss(unsigned long nowtime)