[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190321151448.15600-1-yuehaibing@huawei.com>
Date: Thu, 21 Mar 2019 23:14:48 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <jason@...edaemon.net>, <andrew@...n.ch>,
<gregory.clement@...tlin.com>, <sebastian.hesselbarth@...il.com>,
<tglx@...utronix.de>, <marc.zyngier@....com>
CC: <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] irqchip/irq-mvebu-sei: Make mvebu_sei_ap806_caps static
From: YueHaibing <yuehaibing@...wei.com>
Fix sparse warning:
drivers/irqchip/irq-mvebu-sei.c:481:23: warning:
symbol 'mvebu_sei_ap806_caps' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/irqchip/irq-mvebu-sei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mvebu-sei.c b/drivers/irqchip/irq-mvebu-sei.c
index add4c9c..18832cc 100644
--- a/drivers/irqchip/irq-mvebu-sei.c
+++ b/drivers/irqchip/irq-mvebu-sei.c
@@ -478,7 +478,7 @@ static int mvebu_sei_probe(struct platform_device *pdev)
return ret;
}
-struct mvebu_sei_caps mvebu_sei_ap806_caps = {
+static struct mvebu_sei_caps mvebu_sei_ap806_caps = {
.ap_range = {
.first = 0,
.size = 21,
--
2.7.0
Powered by blists - more mailing lists