Skip to content

Commit 8091f56

Browse files
arndbMarc Zyngier
authored andcommitted
irqdomain: Include internals.h for function prototypes
irq_domain_debugfs_init() is defined in irqdomain.c, but the declaration is in a header that is not included here: kernel/irq/irqdomain.c:1965:13: error: no previous prototype for 'irq_domain_debugfs_init' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230516200432.554240-1-arnd@kernel.org
1 parent 7877cb9 commit 8091f56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/irq/irqdomain.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,6 +1915,8 @@ static void irq_domain_check_hierarchy(struct irq_domain *domain)
19151915
#endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */
19161916

19171917
#ifdef CONFIG_GENERIC_IRQ_DEBUGFS
1918+
#include "internals.h"
1919+
19181920
static struct dentry *domain_dir;
19191921

19201922
static void

0 commit comments

Comments
 (0)