summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-17 09:40:36 +0200
committerMarc Zyngier <maz@kernel.org>2020-04-17 09:59:30 +0200
commit8f374923de1ced05db3c98b9e4e1ce21c5aede2c (patch)
tree19433609341f215ec9bc67d38eaf0ba64043d1ea /drivers
parentirqchip/irq-mvebu-icu: Make legacy_bindings static (diff)
downloadlinux-8f374923de1ced05db3c98b9e4e1ce21c5aede2c.tar.xz
linux-8f374923de1ced05db3c98b9e4e1ce21c5aede2c.zip
irqchip/irq-bcm7038-l1: Make bcm7038_l1_of_init() static
Fix the following sparse warning: drivers/irqchip/irq-bcm7038-l1.c:419:12: warning: symbol 'bcm7038_l1_of_init' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200417074036.46594-1-yanaijie@huawei.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/irqchip/irq-bcm7038-l1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c
index eb9bce93cd05..fd7c537fb42a 100644
--- a/drivers/irqchip/irq-bcm7038-l1.c
+++ b/drivers/irqchip/irq-bcm7038-l1.c
@@ -416,7 +416,7 @@ static const struct irq_domain_ops bcm7038_l1_domain_ops = {
.map = bcm7038_l1_map,
};
-int __init bcm7038_l1_of_init(struct device_node *dn,
+static int __init bcm7038_l1_of_init(struct device_node *dn,
struct device_node *parent)
{
struct bcm7038_l1_chip *intc;