public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] irqchip: ftintc010: mark all function static
@ 2023-05-16 20:05 Arnd Bergmann
  2023-05-16 20:05 ` [PATCH 2/5] irqchip: mmp: remove non-DT codepath Arnd Bergmann
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Arnd Bergmann @ 2023-05-16 20:05 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier, Linus Walleij; +Cc: Arnd Bergmann, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

Two functions were always global but never had any callers
outside of this file:

drivers/irqchip/irq-ftintc010.c:128:39: error: no previous prototype for 'ft010_irqchip_handle_irq'
drivers/irqchip/irq-ftintc010.c:165:12: error: no previous prototype for 'ft010_of_init_irq'

Fixes: b4d3053c8ce9 ("irqchip: Add a driver for Cortina Gemini")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/irqchip/irq-ftintc010.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/irqchip/irq-ftintc010.c b/drivers/irqchip/irq-ftintc010.c
index 46a3aa60e50e..359efc1d1be7 100644
--- a/drivers/irqchip/irq-ftintc010.c
+++ b/drivers/irqchip/irq-ftintc010.c
@@ -125,7 +125,7 @@ static struct irq_chip ft010_irq_chip = {
 /* Local static for the IRQ entry call */
 static struct ft010_irq_data firq;
 
-asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs)
+static asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs)
 {
 	struct ft010_irq_data *f = &firq;
 	int irq;
@@ -162,7 +162,7 @@ static const struct irq_domain_ops ft010_irqdomain_ops = {
 	.xlate = irq_domain_xlate_onetwocell,
 };
 
-int __init ft010_of_init_irq(struct device_node *node,
+static int __init ft010_of_init_irq(struct device_node *node,
 			      struct device_node *parent)
 {
 	struct ft010_irq_data *f = &firq;
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-06-17  6:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16 20:05 [PATCH 1/5] irqchip: ftintc010: mark all function static Arnd Bergmann
2023-05-16 20:05 ` [PATCH 2/5] irqchip: mmp: remove non-DT codepath Arnd Bergmann
2023-06-17  6:39   ` [irqchip: irq/irqchip-next] irqchip/mmp: Remove " irqchip-bot for Arnd Bergmann
2023-05-16 20:05 ` [PATCH 3/5] irqchip: clps711x: remove unused clps711x_intc_init() function Arnd Bergmann
2023-06-17  6:39   ` [irqchip: irq/irqchip-next] irqchip/clps711x: Remove " irqchip-bot for Arnd Bergmann
2023-05-16 20:05 ` [PATCH 4/5] irqchip: mxs: include linux/irqchip/mxs.h Arnd Bergmann
2023-05-27 10:39   ` Shawn Guo
2023-06-17  6:39   ` [irqchip: irq/irqchip-next] irqchip/mxs: Include linux/irqchip/mxs.h irqchip-bot for Arnd Bergmann
2023-05-16 20:05 ` [PATCH 5/5] irqchip: gicv3: add a iort_pmsi_get_dev_id() prototype Arnd Bergmann
2023-05-18 13:19   ` Hanjun Guo
2023-06-17  6:39   ` [irqchip: irq/irqchip-next] irqchip/gicv3: Add " irqchip-bot for Arnd Bergmann
2023-05-17  7:06 ` [PATCH 1/5] irqchip: ftintc010: mark all function static Linus Walleij
2023-06-17  6:39 ` [irqchip: irq/irqchip-next] irqchip/ftintc010: Mark " irqchip-bot for Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox