提交 70af26b2 编写于 作者: T Thomas Gleixner 提交者: Linus Torvalds

V850: cleanup struct irqaction initializers

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Cc: Miles Bader <miles@gnu.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a24864a1
...@@ -160,5 +160,8 @@ static void make_reg_snap (int irq, void *dummy, struct pt_regs *regs) ...@@ -160,5 +160,8 @@ static void make_reg_snap (int irq, void *dummy, struct pt_regs *regs)
static int reg_snap_dev_id; static int reg_snap_dev_id;
static struct irqaction reg_snap_action = { 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,
}; };
...@@ -92,12 +92,11 @@ static irqreturn_t timer_interrupt (int irq, void *dummy, struct pt_regs *regs) ...@@ -92,12 +92,11 @@ static irqreturn_t timer_interrupt (int irq, void *dummy, struct pt_regs *regs)
static int timer_dev_id; static int timer_dev_id;
static struct irqaction timer_irqaction = { static struct irqaction timer_irqaction = {
timer_interrupt, .handler = timer_interrupt,
IRQF_DISABLED, .flags = IRQF_DISABLED,
CPU_MASK_NONE, .mask = CPU_MASK_NONE,
"timer", .name = "timer",
&timer_dev_id, .dev_id = &timer_dev_id,
NULL
}; };
void time_init (void) void time_init (void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册