]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V850: cleanup struct irqaction initializers
authorThomas Gleixner <tglx@linutronix.de>
Tue, 16 Oct 2007 08:27:36 +0000 (01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:09 +0000 (09:43 -0700)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/v850/kernel/fpga85e2c.c
arch/v850/kernel/time.c

index 5c4923558a75c8f7b5620ccb7a5fb3f20df60f3a..ab9cf16a85c8778808f27d67bbcc1afe35638593 100644 (file)
@@ -160,5 +160,8 @@ static void make_reg_snap (int irq, void *dummy, struct pt_regs *regs)
 
 static int reg_snap_dev_id;
 static struct irqaction reg_snap_action = {
-       make_reg_snap, 0, CPU_MASK_NONE, "reg_snap", &reg_snap_dev_id, 0
+       .handler = make_reg_snap,
+       .mask = CPU_MASK_NONE,
+       .name = "reg_snap",
+       .dev_id = &reg_snap_dev_id,
 };
index f0905b03523bdd44765f03cb45251d05361fdd55..d810c93fe66567b3c5166860fd2b815fc6dc5359 100644 (file)
@@ -92,12 +92,11 @@ static irqreturn_t timer_interrupt (int irq, void *dummy, struct pt_regs *regs)
 
 static int timer_dev_id;
 static struct irqaction timer_irqaction = {
-       timer_interrupt,
-       IRQF_DISABLED,
-       CPU_MASK_NONE,
-       "timer",
-       &timer_dev_id,
-       NULL
+       .handler = timer_interrupt,
+       .flags = IRQF_DISABLED,
+       .mask = CPU_MASK_NONE,
+       .name = "timer",
+       .dev_id = &timer_dev_id,
 };
 
 void time_init (void)