Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wei Yongjun and committed by
Sebastian Reichel
0a0ea07d b74d4954

+1 -1
+1 -1
drivers/hsi/clients/ssi_protocol.c
··· 901 901 ssip_free_data(msg); 902 902 } 903 903 904 - void ssip_port_event(struct hsi_client *cl, unsigned long event) 904 + static void ssip_port_event(struct hsi_client *cl, unsigned long event) 905 905 { 906 906 switch (event) { 907 907 case HSI_EVENT_START_RX: