irqdomain: include internals.h for function prototypes
Subsystems (2)
PATCH 1/1 irqdomain: include internals.h for function prototypes
From: Arnd Bergmann <[email protected]>
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]
--- kernel/irq/irqdomain.c | 2 ++ 1 file changed, 2 insertions(+)
kernel/irq/irqdomain.c +2 -0
@@ -1915,6 +1915,8 @@ static void irq_domain_check_hierarchy(struct irq_domain *domain)#endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */ #ifdef CONFIG_GENERIC_IRQ_DEBUGFS +#include "internals.h" +static struct dentry *domain_dir; static void
Signature · 1 line
2.39.2
[irqchip: irq/irqchip-next] irqdomain: Include internals.h for function prototypes
The following commit has been merged into the irq/irqchip-next branch of irqchip:
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: 8091f56ee4e51037662590edc0b0e44807fbab4d Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/8091f56ee4e51037662590edc0b0e44807fbab4d Author: Arnd Bergmann <[email protected]> AuthorDate: Tue, 16 May 2023 22:04:28 +02:00 Committer: Marc Zyngier <[email protected]> CommitterDate: Sat, 17 Jun 2023 07:20:45 +01:00
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]
--- kernel/irq/irqdomain.c | 2 ++ 1 file changed, 2 insertions(+)
kernel/irq/irqdomain.c +2 -0
@@ -1915,6 +1915,8 @@ static void irq_domain_check_hierarchy(struct irq_domain *domain)#endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */ #ifdef CONFIG_GENERIC_IRQ_DEBUGFS +#include "internals.h" +static struct dentry *domain_dir; static void