[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230516200432.554240-1-arnd@kernel.org>
Date: Tue, 16 May 2023 22:04:28 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Marc Zyngier <maz@...nel.org>, Thomas Gleixner <tglx@...utronix.de>
Cc: Arnd Bergmann <arnd@...db.de>,
Johan Hovold <johan+linaro@...nel.org>,
Xu Qiang <xuqiang36@...wei.com>,
Philippe Mathieu-Daudé <philmd@...aro.org>,
Jason Gunthorpe <jgg@...pe.ca>,
Juergen Gross <jgross@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH] irqdomain: include internals.h for function prototypes
From: Arnd Bergmann <arnd@...db.de>
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@...db.de>
---
kernel/irq/irqdomain.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index f34760a1e222..5bd01624e447 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -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
--
2.39.2
Powered by blists - more mailing lists