diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-20 13:17:20 +0800 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-07-20 09:31:16 +0200 |
commit | 0a0ea07d3dff0918484f01c576f098dd4911b1af (patch) | |
tree | dc2d725ab4134b614077f0f1abbc4da970761337 /drivers/hsi | |
parent | b74d4954ae6a6799f7ee832bc377795ab506f4b1 (diff) | |
download | lwn-0a0ea07d3dff0918484f01c576f098dd4911b1af.tar.gz lwn-0a0ea07d3dff0918484f01c576f098dd4911b1af.zip |
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')
-rw-r--r-- | drivers/hsi/clients/ssi_protocol.c | 2 |
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: |