[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20201012102056.4156-1-mark-pk.tsai@mediatek.com>
Date: Mon, 12 Oct 2020 18:20:56 +0800
From: Mark-PK Tsai <mark-pk.tsai@...iatek.com>
To: <marc.zyngier@....com>
CC: <tglx@...utronix.de>, <jason@...edaemon.net>,
<matthias.bgg@...il.com>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, <yj.chiang@...iatek.com>,
<wc.shih@...iatek.com>, <alix.wu@...iatek.com>,
Mark-PK Tsai <mark-pk.tsai@...iatek.com>
Subject: [PATCH] irqchip/irq-mst-intc: Declare mst_intc_of_init static
mst_intc_of_init is not intended to be used ouside of irq-mst-intc.c,
declare it static.
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Mark-PK Tsai <mark-pk.tsai@...iatek.com>
---
drivers/irqchip/irq-mst-intc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mst-intc.c b/drivers/irqchip/irq-mst-intc.c
index 4be077591898..cf6de04a73b4 100644
--- a/drivers/irqchip/irq-mst-intc.c
+++ b/drivers/irqchip/irq-mst-intc.c
@@ -154,7 +154,7 @@ static const struct irq_domain_ops mst_intc_domain_ops = {
.free = irq_domain_free_irqs_common,
};
-int __init
+static int __init
mst_intc_of_init(struct device_node *dn, struct device_node *parent)
{
struct irq_domain *domain, *domain_parent;
--
2.18.0
Powered by blists - more mailing lists