aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorMarko Stankovic <dartnorris@gmail.com>2018-12-25 23:35:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-07 08:56:07 +0100
commit2f6fa4ca37c57e56ea535c947f60060c69a3dc03 (patch)
tree4685ca372c31527430b841adeed9f91684cfe9ff /drivers/staging/wilc1000/host_interface.c
parentLinux 5.0-rc1 (diff)
downloadlinux-dev-2f6fa4ca37c57e56ea535c947f60060c69a3dc03.tar.xz
linux-dev-2f6fa4ca37c57e56ea535c947f60060c69a3dc03.zip
staging: wilc1000: make function wilc_get_stats_async static
Makes local function wilc_get_stats_async() static Cleans up sparse warning: symbol 'wilc_get_stats_async' was not declared. Should it be static? Signed-off-by: Marko Stankovic <dartnorris@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 70c854d939ce..5dae6e7155d3 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -1992,7 +1992,7 @@ int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level)
return result;
}
-int wilc_get_stats_async(struct wilc_vif *vif, struct rf_info *stats)
+static int wilc_get_stats_async(struct wilc_vif *vif, struct rf_info *stats)
{
int result;
struct host_if_msg *msg;