Skip to content

Commit 97bb0f8

Browse files
arndbMarc Zyngier
authored andcommitted
irqchip/ftintc010: Mark all function static
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: b4d3053 ("irqchip: Add a driver for Cortina Gemini") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230516200516.554663-1-arnd@kernel.org
1 parent 8091f56 commit 97bb0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/irqchip/irq-ftintc010.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static struct irq_chip ft010_irq_chip = {
125125
/* Local static for the IRQ entry call */
126126
static struct ft010_irq_data firq;
127127

128-
asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs)
128+
static asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs)
129129
{
130130
struct ft010_irq_data *f = &firq;
131131
int irq;
@@ -162,7 +162,7 @@ static const struct irq_domain_ops ft010_irqdomain_ops = {
162162
.xlate = irq_domain_xlate_onetwocell,
163163
};
164164

165-
int __init ft010_of_init_irq(struct device_node *node,
165+
static int __init ft010_of_init_irq(struct device_node *node,
166166
struct device_node *parent)
167167
{
168168
struct ft010_irq_data *f = &firq;

0 commit comments

Comments
 (0)