diff options
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 5fd105e252c3..a573e0771baf 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h | |||
@@ -318,8 +318,13 @@ static inline bool irq_fixup_move_pending(struct irq_desc *desc, bool fclear) | |||
318 | #endif /* !CONFIG_GENERIC_PENDING_IRQ */ | 318 | #endif /* !CONFIG_GENERIC_PENDING_IRQ */ |
319 | 319 | ||
320 | #ifdef CONFIG_GENERIC_IRQ_DEBUGFS | 320 | #ifdef CONFIG_GENERIC_IRQ_DEBUGFS |
321 | #include <linux/debugfs.h> | ||
322 | |||
321 | void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc); | 323 | void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc); |
322 | void irq_remove_debugfs_entry(struct irq_desc *desc); | 324 | static inline void irq_remove_debugfs_entry(struct irq_desc *desc) |
325 | { | ||
326 | debugfs_remove(desc->debugfs_file); | ||
327 | } | ||
323 | # ifdef CONFIG_IRQ_DOMAIN | 328 | # ifdef CONFIG_IRQ_DOMAIN |
324 | void irq_domain_debugfs_init(struct dentry *root); | 329 | void irq_domain_debugfs_init(struct dentry *root); |
325 | # else | 330 | # else |