Skip to content

Commit

Permalink
HSI: ssi_protocol: Fix sparse non static symbol warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Sebastian Reichel committed Jul 20, 2014
1 parent b74d495 commit 0a0ea07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hsi/clients/ssi_protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ static void ssip_tx_data_complete(struct hsi_msg *msg)
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:
Expand Down

0 comments on commit 0a0ea07

Please sign in to comment.