aboutsummaryrefslogtreecommitdiffstats
path: root/arch/v850/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/v850/kernel')
-rw-r--r--arch/v850/kernel/fpga85e2c.c5
-rw-r--r--arch/v850/kernel/time.c11
2 files changed, 9 insertions, 7 deletions
diff --git a/arch/v850/kernel/fpga85e2c.c b/arch/v850/kernel/fpga85e2c.c
index 5c4923558a75..ab9cf16a85c8 100644
--- a/arch/v850/kernel/fpga85e2c.c
+++ b/arch/v850/kernel/fpga85e2c.c
@@ -160,5 +160,8 @@ static void make_reg_snap (int irq, void *dummy, struct pt_regs *regs)
160 160
161static int reg_snap_dev_id; 161static int reg_snap_dev_id;
162static struct irqaction reg_snap_action = { 162static struct irqaction reg_snap_action = {
163 make_reg_snap, 0, CPU_MASK_NONE, "reg_snap", &reg_snap_dev_id, 0 163 .handler = make_reg_snap,
164 .mask = CPU_MASK_NONE,
165 .name = "reg_snap",
166 .dev_id = &reg_snap_dev_id,
164}; 167};
diff --git a/arch/v850/kernel/time.c b/arch/v850/kernel/time.c
index f0905b03523b..d810c93fe665 100644
--- a/arch/v850/kernel/time.c
+++ b/arch/v850/kernel/time.c
@@ -92,12 +92,11 @@ static irqreturn_t timer_interrupt (int irq, void *dummy, struct pt_regs *regs)
92 92
93static int timer_dev_id; 93static int timer_dev_id;
94static struct irqaction timer_irqaction = { 94static struct irqaction timer_irqaction = {
95 timer_interrupt, 95 .handler = timer_interrupt,
96 IRQF_DISABLED, 96 .flags = IRQF_DISABLED,
97 CPU_MASK_NONE, 97 .mask = CPU_MASK_NONE,
98 "timer", 98 .name = "timer",
99 &timer_dev_id, 99 .dev_id = &timer_dev_id,
100 NULL
101}; 100};
102 101
103void time_init (void) 102void time_init (void)