diff options
Diffstat (limited to 'kernel/irq/chip.c')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 570d1ea1db5d..e6f73dbfcc3d 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
@@ -28,7 +28,7 @@ void dynamic_irq_init(unsigned int irq) | |||
28 | unsigned long flags; | 28 | unsigned long flags; |
29 | 29 | ||
30 | /* first time to use this irq_desc */ | 30 | /* first time to use this irq_desc */ |
31 | desc = irq_to_desc_alloc(irq); | 31 | desc = irq_to_desc(irq); |
32 | if (!desc) { | 32 | if (!desc) { |
33 | WARN(1, KERN_ERR "Trying to initialize invalid IRQ%d\n", irq); | 33 | WARN(1, KERN_ERR "Trying to initialize invalid IRQ%d\n", irq); |
34 | return; | 34 | return; |