summaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index a4aa39009f0d..cfaec2669093 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -443,7 +443,9 @@ void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc);
443static inline void irq_remove_debugfs_entry(struct irq_desc *desc) 443static inline void irq_remove_debugfs_entry(struct irq_desc *desc)
444{ 444{
445 debugfs_remove(desc->debugfs_file); 445 debugfs_remove(desc->debugfs_file);
446 kfree(desc->dev_name);
446} 447}
448void irq_debugfs_copy_devname(int irq, struct device *dev);
447# ifdef CONFIG_IRQ_DOMAIN 449# ifdef CONFIG_IRQ_DOMAIN
448void irq_domain_debugfs_init(struct dentry *root); 450void irq_domain_debugfs_init(struct dentry *root);
449# else 451# else
@@ -458,4 +460,7 @@ static inline void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *d)
458static inline void irq_remove_debugfs_entry(struct irq_desc *d) 460static inline void irq_remove_debugfs_entry(struct irq_desc *d)
459{ 461{
460} 462}
463static inline void irq_debugfs_copy_devname(int irq, struct device *dev)
464{
465}
461#endif /* CONFIG_GENERIC_IRQ_DEBUGFS */ 466#endif /* CONFIG_GENERIC_IRQ_DEBUGFS */