summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-ftintc010.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 23:05:04 +0300
committerMarc Zyngier <maz@kernel.org>2023-06-17 09:20:52 +0300
commit97bb0f8e847c0ea6bf926c4e3b7633dd6acfabf2 (patch)
treefc411912bbd8c89a41d22213c905d0f11a1a5ec7 /drivers/irqchip/irq-ftintc010.c
parent8091f56ee4e51037662590edc0b0e44807fbab4d (diff)
downloadlinux-97bb0f8e847c0ea6bf926c4e3b7633dd6acfabf2.tar.xz
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: b4d3053c8ce9 ("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
Diffstat (limited to 'drivers/irqchip/irq-ftintc010.c')
-rw-r--r--drivers/irqchip/irq-ftintc010.c4
1 files 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;