diff options
Diffstat (limited to 'arch/xtensa/kernel/irq.c')
-rw-r--r-- | arch/xtensa/kernel/irq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/xtensa/kernel/irq.c b/arch/xtensa/kernel/irq.c index 8438319b14d7..98c0d6bafdf2 100644 --- a/arch/xtensa/kernel/irq.c +++ b/arch/xtensa/kernel/irq.c | |||
@@ -164,25 +164,25 @@ void __init init_IRQ(void) | |||
164 | int mask = 1 << index; | 164 | int mask = 1 << index; |
165 | 165 | ||
166 | if (mask & XCHAL_INTTYPE_MASK_SOFTWARE) | 166 | if (mask & XCHAL_INTTYPE_MASK_SOFTWARE) |
167 | set_irq_chip_and_handler(index, &xtensa_irq_chip, | 167 | irq_set_chip_and_handler(index, &xtensa_irq_chip, |
168 | handle_simple_irq); | 168 | handle_simple_irq); |
169 | 169 | ||
170 | else if (mask & XCHAL_INTTYPE_MASK_EXTERN_EDGE) | 170 | else if (mask & XCHAL_INTTYPE_MASK_EXTERN_EDGE) |
171 | set_irq_chip_and_handler(index, &xtensa_irq_chip, | 171 | irq_set_chip_and_handler(index, &xtensa_irq_chip, |
172 | handle_edge_irq); | 172 | handle_edge_irq); |
173 | 173 | ||
174 | else if (mask & XCHAL_INTTYPE_MASK_EXTERN_LEVEL) | 174 | else if (mask & XCHAL_INTTYPE_MASK_EXTERN_LEVEL) |
175 | set_irq_chip_and_handler(index, &xtensa_irq_chip, | 175 | irq_set_chip_and_handler(index, &xtensa_irq_chip, |
176 | handle_level_irq); | 176 | handle_level_irq); |
177 | 177 | ||
178 | else if (mask & XCHAL_INTTYPE_MASK_TIMER) | 178 | else if (mask & XCHAL_INTTYPE_MASK_TIMER) |
179 | set_irq_chip_and_handler(index, &xtensa_irq_chip, | 179 | irq_set_chip_and_handler(index, &xtensa_irq_chip, |
180 | handle_edge_irq); | 180 | handle_edge_irq); |
181 | 181 | ||
182 | else /* XCHAL_INTTYPE_MASK_WRITE_ERROR */ | 182 | else /* XCHAL_INTTYPE_MASK_WRITE_ERROR */ |
183 | /* XCHAL_INTTYPE_MASK_NMI */ | 183 | /* XCHAL_INTTYPE_MASK_NMI */ |
184 | 184 | ||
185 | set_irq_chip_and_handler(index, &xtensa_irq_chip, | 185 | irq_set_chip_and_handler(index, &xtensa_irq_chip, |
186 | handle_level_irq); | 186 | handle_level_irq); |
187 | } | 187 | } |
188 | 188 | ||