diff options
Diffstat (limited to 'arch/alpha/kernel/irq_alpha.c')
| -rw-r--r-- | arch/alpha/kernel/irq_alpha.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/alpha/kernel/irq_alpha.c b/arch/alpha/kernel/irq_alpha.c index 2d0679b6093..411ca11d0a1 100644 --- a/arch/alpha/kernel/irq_alpha.c +++ b/arch/alpha/kernel/irq_alpha.c | |||
| @@ -228,14 +228,9 @@ struct irqaction timer_irqaction = { | |||
| 228 | void __init | 228 | void __init |
| 229 | init_rtc_irq(void) | 229 | init_rtc_irq(void) |
| 230 | { | 230 | { |
| 231 | struct irq_desc *desc = irq_to_desc(RTC_IRQ); | 231 | set_irq_chip_and_handler_name(RTC_IRQ, &no_irq_chip, |
| 232 | 232 | handle_simple_irq, "RTC"); | |
| 233 | if (desc) { | 233 | setup_irq(RTC_IRQ, &timer_irqaction); |
| 234 | desc->status |= IRQ_DISABLED; | ||
| 235 | set_irq_chip_and_handler_name(RTC_IRQ, &no_irq_chip, | ||
| 236 | handle_simple_irq, "RTC"); | ||
| 237 | setup_irq(RTC_IRQ, &timer_irqaction); | ||
| 238 | } | ||
| 239 | } | 234 | } |
| 240 | 235 | ||
| 241 | /* Dummy irqactions. */ | 236 | /* Dummy irqactions. */ |
