.. | .. |
---|
177 | 177 | return IRQ_HANDLED; |
---|
178 | 178 | } |
---|
179 | 179 | |
---|
180 | | -static struct irqaction orion_timer_irq = { |
---|
181 | | - .name = "orion_tick", |
---|
182 | | - .flags = IRQF_TIMER, |
---|
183 | | - .handler = orion_timer_interrupt |
---|
184 | | -}; |
---|
185 | | - |
---|
186 | 180 | void __init |
---|
187 | 181 | orion_time_set_base(void __iomem *_timer_base) |
---|
188 | 182 | { |
---|
.. | .. |
---|
236 | 230 | /* |
---|
237 | 231 | * Setup clockevent timer (interrupt-driven). |
---|
238 | 232 | */ |
---|
239 | | - setup_irq(irq, &orion_timer_irq); |
---|
| 233 | + if (request_irq(irq, orion_timer_interrupt, IRQF_TIMER, "orion_tick", |
---|
| 234 | + NULL)) |
---|
| 235 | + pr_err("Failed to request irq %u (orion_tick)\n", irq); |
---|
240 | 236 | orion_clkevt.cpumask = cpumask_of(0); |
---|
241 | 237 | clockevents_config_and_register(&orion_clkevt, tclk, 1, 0xfffffffe); |
---|
242 | 238 | } |
---|