diff options
Diffstat (limited to 'kernel/irq/chip.c')
| -rw-r--r-- | kernel/irq/chip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 6397df2d6945..a2b28a2fd7b1 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c | |||
| @@ -40,10 +40,9 @@ int irq_set_chip(unsigned int irq, struct irq_chip *chip) | |||
| 40 | irq_put_desc_unlock(desc, flags); | 40 | irq_put_desc_unlock(desc, flags); |
| 41 | /* | 41 | /* |
| 42 | * For !CONFIG_SPARSE_IRQ make the irq show up in | 42 | * For !CONFIG_SPARSE_IRQ make the irq show up in |
| 43 | * allocated_irqs. For the CONFIG_SPARSE_IRQ case, it is | 43 | * allocated_irqs. |
| 44 | * already marked, and this call is harmless. | ||
| 45 | */ | 44 | */ |
| 46 | irq_reserve_irq(irq); | 45 | irq_mark_irq(irq); |
| 47 | return 0; | 46 | return 0; |
| 48 | } | 47 | } |
| 49 | EXPORT_SYMBOL(irq_set_chip); | 48 | EXPORT_SYMBOL(irq_set_chip); |
