[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1405833440-6731-1-git-send-email-weiyj_lk@163.com>
Date: Sun, 20 Jul 2014 13:17:20 +0800
From: weiyj_lk@....com
To: Sebastian Reichel <sre@...nel.org>, Tom Gundersen <teg@...m.no>,
Carlos Chinea <carlos.chinea@...ia.com>,
David Herrmann <dh.herrmann@...il.com>,
"David S. Miller" <davem@...emloft.net>
Cc: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
linux-kernel@...r.kernel.org
Subject: [PATCH -next] HSI: ssi_protocol: Fix sparse non static symbol warning
From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Fixes the following sparse warning:
drivers/hsi/clients/ssi_protocol.c:904:6: warning:
symbol 'ssip_port_event' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
---
drivers/hsi/clients/ssi_protocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients/ssi_protocol.c
index 737fa2e..e5c7a96 100644
--- a/drivers/hsi/clients/ssi_protocol.c
+++ b/drivers/hsi/clients/ssi_protocol.c
@@ -901,7 +901,7 @@ out:
ssip_free_data(msg);
}
-void ssip_port_event(struct hsi_client *cl, unsigned long event)
+static void ssip_port_event(struct hsi_client *cl, unsigned long event)
{
switch (event) {
case HSI_EVENT_START_RX:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists