diff options
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 05c2188271b8..fcab63c66905 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -199,6 +199,11 @@ static inline int irq_desc_get_node(struct irq_desc *desc) | |||
199 | return irq_common_data_get_node(&desc->irq_common_data); | 199 | return irq_common_data_get_node(&desc->irq_common_data); |
200 | } | 200 | } |
201 | 201 | ||
202 | static inline int irq_desc_is_chained(struct irq_desc *desc) | ||
203 | { | ||
204 | return (desc->action && desc->action == &chained_action); | ||
205 | } | ||
206 | |||
202 | #ifdef CONFIG_PM_SLEEP | 207 | #ifdef CONFIG_PM_SLEEP |
203 | bool irq_pm_check_wakeup(struct irq_desc *desc); | 208 | bool irq_pm_check_wakeup(struct irq_desc *desc); |
204 | void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action); | 209 | void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action); |