浏览代码

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>
Wei Yongjun 11 年之前
父节点
当前提交
0a0ea07d3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/hsi/clients/ssi_protocol.c

+ 1 - 1
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: