summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-20 05:17:20 (GMT)
committerSebastian Reichel <sre@kernel.org>2014-07-20 07:31:16 (GMT)
commit0a0ea07d3dff0918484f01c576f098dd4911b1af (patch)
treedc2d725ab4134b614077f0f1abbc4da970761337 /drivers
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')
-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 ce4be37..fe364a3 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: