Skip to content

Commit

Permalink
M32R: cleanup struct irqaction initializers
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Hirokazu Takata <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
KAGA-KOKO authored and Linus Torvalds committed Oct 16, 2007
1 parent 3165c0d commit 977676a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions arch/m32r/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,12 @@ irqreturn_t timer_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}

struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE,
"MFT2", NULL, NULL };
struct irqaction irq0 = {
.handler = timer_interrupt,
.flags = IRQF_DISABLED,
.mask = CPU_MASK_NONE,
.name = "MFT2",
};

void __init time_init(void)
{
Expand Down

0 comments on commit 977676a

Please sign in to comment.