diff options
Diffstat (limited to 'include/linux/irq.h')
| -rw-r--r-- | include/linux/irq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index e9639115dff1..abde2527c699 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -412,6 +412,11 @@ static inline void irq_free_desc(unsigned int irq) | |||
| 412 | irq_free_descs(irq, 1); | 412 | irq_free_descs(irq, 1); |
| 413 | } | 413 | } |
| 414 | 414 | ||
| 415 | static inline int irq_reserve_irq(unsigned int irq) | ||
| 416 | { | ||
| 417 | return irq_reserve_irqs(irq, 1); | ||
| 418 | } | ||
| 419 | |||
| 415 | #endif /* CONFIG_GENERIC_HARDIRQS */ | 420 | #endif /* CONFIG_GENERIC_HARDIRQS */ |
| 416 | 421 | ||
| 417 | #endif /* !CONFIG_S390 */ | 422 | #endif /* !CONFIG_S390 */ |
