Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Arnd Bergmann and committed by
Marc Zyngier
8091f56e 7877cb91

+2
+2
kernel/irq/irqdomain.c
··· 1915 1915 #endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */ 1916 1916 1917 1917 #ifdef CONFIG_GENERIC_IRQ_DEBUGFS 1918 + #include "internals.h" 1919 + 1918 1920 static struct dentry *domain_dir; 1919 1921 1920 1922 static void