projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74d495
)
HSI: ssi_protocol: Fix sparse non static symbol warning
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sun, 20 Jul 2014 05:17:20 +0000
(13:17 +0800)
committer
Sebastian Reichel
<sre@kernel.org>
Sun, 20 Jul 2014 07:31:16 +0000
(09:31 +0200)
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@trendmicro.com.cn>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/hsi/clients/ssi_protocol.c
patch
|
blob
|
history
diff --git
a/drivers/hsi/clients/ssi_protocol.c
b/drivers/hsi/clients/ssi_protocol.c
index ce4be3738d468a58aeff47a54737039cdafe3b0e..fe364a342717aabcac04672a0c251c91422074ad 100644
(file)
--- 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: