]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: cleanup struct irqaction initializers.
authorThomas Gleixner <tglx@linutronix.de>
Wed, 3 Oct 2007 06:04:08 +0000 (15:04 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 3 Oct 2007 06:04:08 +0000 (15:04 +0900)
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>
arch/sh/boards/se/7343/irq.c
arch/sh/cchips/hd6446x/hd64461.c
arch/sh/cchips/hd6446x/hd64465/setup.c

index 360153ecc55b53dd3249d2cea9be96e39d9b2f99..763f6deba814cdc748314ca116e2492c35646bdf 100644 (file)
@@ -99,8 +99,11 @@ shmse_irq_demux(int irq)
  *
  * We configure IRQ5 as a cascade IRQ.
  */
-static struct irqaction irq5 = { no_action, 0, CPU_MASK_NONE, "IRQ5-cascade",
-                               NULL, NULL};
+static struct irqaction irq5 = {
+       .handler = no_action,
+       .mask = CPU_MASK_NONE,
+       .name = "IRQ5-cascade",
+};
 
 static struct ipr_data se7343_irq5_ipr_map[] = {
        { IRQ5_IRQ, IRQ5_IPR_ADDR+2, IRQ5_IPR_POS, IRQ5_PRIORITY },
index b77754d9697a6c9b691d7625cb8049390ea6c462..f1a4a0763c5991dac9e150007c37bbc8c3a1789f 100644 (file)
@@ -127,7 +127,12 @@ int hd64461_irq_demux(int irq)
        return irq;
 }
 
-static struct irqaction irq0 = { hd64461_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "HD64461", NULL, NULL };
+static struct irqaction irq0 = {
+       .handler = hd64461_interrupt,
+       .flags = IRQF_DISABLED,
+       .mask = CPU_MASK_NONE,
+       .name = "HD64461",
+};
 
 int __init setup_hd64461(void)
 {
index d126e1f30dee60b99f0f959bd8755516c3618086..5cef0db4018b78eb00cbc5c285c18a66bc687be0 100644 (file)
@@ -147,7 +147,12 @@ int hd64465_irq_demux(int irq)
        return irq;
 }
 
-static struct irqaction irq0  = { hd64465_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "HD64465", NULL, NULL};
+static struct irqaction irq0  = {
+       .handler = hd64465_interrupt,
+       .flags = IRQF_DISABLED,
+       .mask = CPU_MASK_NONE,
+       .name = "HD64465",
+};
 
 
 static int __init setup_hd64465(void)