mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "irqchip-bot for Arnd Bergmann" <tip-bot2@linutronix.de>
To: linux-kernel@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, Marc Zyngier <maz@kernel.org>,
	tglx@linutronix.de
Subject: [irqchip: irq/irqchip-next] irqchipr/i8259: Mark i8259_of_init() static
Date: Mon, 21 Aug 2023 16:58:06 -0000	[thread overview]
Message-ID: <169263708616.27769.11978640366702332497.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20230810123404.1222332-3-arnd@kernel.org>

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     424a4aec7a2392d248e2f260ba571a01e24b8ec2
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/424a4aec7a2392d248e2f260ba571a01e24b8ec2
Author:        Arnd Bergmann <arnd@arndb.de>
AuthorDate:    Thu, 10 Aug 2023 14:33:56 +02:00
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Mon, 21 Aug 2023 17:40:30 +01:00

irqchipr/i8259: Mark i8259_of_init() static

i8259_of_init() is only used as an initcall and does not need to be global,
so mark it static to avoid:

drivers/irqchip/irq-i8259.c:343:12: warning: no previous prototype for 'i8259_of_init' [-Wmissing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230810123404.1222332-3-arnd@kernel.org
---
 drivers/irqchip/irq-i8259.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-i8259.c b/drivers/irqchip/irq-i8259.c
index b70ce0d..115bdcf 100644
--- a/drivers/irqchip/irq-i8259.c
+++ b/drivers/irqchip/irq-i8259.c
@@ -340,7 +340,7 @@ static void i8259_irq_dispatch(struct irq_desc *desc)
 	generic_handle_domain_irq(domain, hwirq);
 }
 
-int __init i8259_of_init(struct device_node *node, struct device_node *parent)
+static int __init i8259_of_init(struct device_node *node, struct device_node *parent)
 {
 	struct irq_domain *domain;
 	unsigned int parent_irq;

  reply	other threads:[~2023-08-21 16:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 12:33 [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy() Arnd Bergmann
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-bot for Arnd Bergmann [this message]
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=169263708616.27769.11978640366702332497.tip-bot2@tip-bot2 \
    --to=tip-bot2@linutronix.de \
    --cc=arnd@arndb.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®