From: Wei Yongjun Date: Sun, 20 Jul 2014 05:17:20 +0000 (+0800) Subject: HSI: ssi_protocol: Fix sparse non static symbol warning X-Git-Tag: Ubuntu-snapdragon-4.4.0-1029.32~8297^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0a0ea07d3dff0918484f01c576f098dd4911b1af;p=mirror_ubuntu-zesty-kernel.git 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 Signed-off-by: Sebastian Reichel --- 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: