| .. | .. |
|---|
| 161 | 161 | return IRQ_HANDLED; |
|---|
| 162 | 162 | } |
|---|
| 163 | 163 | |
|---|
| 164 | | -static struct irqaction timer_irqaction = { |
|---|
| 165 | | - .handler = timer_interrupt, |
|---|
| 166 | | - .flags = IRQF_TIMER, |
|---|
| 167 | | - .name = "timer", |
|---|
| 168 | | - .dev_id = &clockevent_xilinx_timer, |
|---|
| 169 | | -}; |
|---|
| 170 | | - |
|---|
| 171 | 164 | static __init int xilinx_clockevent_init(void) |
|---|
| 172 | 165 | { |
|---|
| 173 | 166 | clockevent_xilinx_timer.mult = |
|---|
| .. | .. |
|---|
| 309 | 302 | |
|---|
| 310 | 303 | freq_div_hz = timer_clock_freq / HZ; |
|---|
| 311 | 304 | |
|---|
| 312 | | - ret = setup_irq(irq, &timer_irqaction); |
|---|
| 305 | + ret = request_irq(irq, timer_interrupt, IRQF_TIMER, "timer", |
|---|
| 306 | + &clockevent_xilinx_timer); |
|---|
| 313 | 307 | if (ret) { |
|---|
| 314 | 308 | pr_err("Failed to setup IRQ"); |
|---|
| 315 | 309 | return ret; |
|---|