All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>, Marc Zyngier <maz@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>, Chris Zankel <chris@zankel.net>,
	Max Filippov <jcmvbkbc@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy()
Date: Thu, 10 Aug 2023 14:33:54 +0200	[thread overview]
Message-ID: <20230810123404.1222332-1-arnd@kernel.org> (raw)

From: Arnd Bergmann <arnd@arndb.de>

The declaration for this function is not included, which leads to a harmless warning:

drivers/irqchip/irq-xtensa-pic.c:91:12: error: no previous prototype for 'xtensa_pic_init_legacy' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/irqchip/irq-xtensa-pic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-xtensa-pic.c b/drivers/irqchip/irq-xtensa-pic.c
index ab12328be5eed..0c18d1f1e264f 100644
--- a/drivers/irqchip/irq-xtensa-pic.c
+++ b/drivers/irqchip/irq-xtensa-pic.c
@@ -16,6 +16,7 @@
 #include <linux/irqdomain.h>
 #include <linux/irq.h>
 #include <linux/irqchip.h>
+#include <linux/irqchip/xtensa-pic.h>
 #include <linux/of.h>
 
 unsigned int cached_irq_mask;
-- 
2.39.2


             reply	other threads:[~2023-08-10 12:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 12:33 Arnd Bergmann [this message]
2023-08-10 12:33 ` [PATCH 2/3] irqchip: mips-gic: mark gic_irq_domain_free() static Arnd Bergmann
2023-08-10 14:52   ` Philippe Mathieu-Daudé
2023-08-13 14:26   ` Serge Semin
2023-08-21 16:58   ` [irqchip: irq/irqchip-next] irqchip/mips-gic: Mark " irqchip-bot for Arnd Bergmann
2023-08-10 12:33 ` [PATCH 3/3] irqchip: i8259: mark i8259_of_init() static Arnd Bergmann
2023-08-21 16:58   ` [irqchip: irq/irqchip-next] irqchipr/i8259: Mark " irqchip-bot for Arnd Bergmann
2023-08-10 12:36 ` [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy() Max Filippov
2023-08-21 16:58 ` [irqchip: irq/irqchip-next] irqchip/xtensa-pic: Include " irqchip-bot for Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230810123404.1222332-1-arnd@kernel.org \
    --to=arnd@kernel.org \
    --cc=arnd@arndb.de \
    --cc=chris@zankel.net \
    --cc=jcmvbkbc@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.