Skip to content

Commit

Permalink
V850: cleanup struct irqaction initializers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner authored and Linus Torvalds committed Oct 16, 2007
1 parent a24864a commit 70af26b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion arch/v850/kernel/fpga85e2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
11 changes: 5 additions & 6 deletions arch/v850/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 70af26b

Please sign in to comment.