summaryrefslogtreecommitdiff
path: root/drivers/hsi/clients/ssi_protocol.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-20 09:17:20 +0400
committerSebastian Reichel <sre@kernel.org>2014-07-20 11:31:16 +0400
commit0a0ea07d3dff0918484f01c576f098dd4911b1af (patch)
treedc2d725ab4134b614077f0f1abbc4da970761337 /drivers/hsi/clients/ssi_protocol.c
parentb74d4954ae6a6799f7ee832bc377795ab506f4b1 (diff)
downloadlinux-0a0ea07d3dff0918484f01c576f098dd4911b1af.tar.xz
HSI: ssi_protocol: Fix sparse non static symbol warning
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>
Diffstat (limited to 'drivers/hsi/clients/ssi_protocol.c')
-rw-r--r--drivers/hsi/clients/ssi_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients/ssi_protocol.c
index ce4be3738d46..fe364a342717 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: