[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20181225223015.7352-1-dartnorris@gmail.com>
Date: Tue, 25 Dec 2018 23:30:15 +0100
From: Marko Stankovic <dartnorris@...il.com>
To: adham.abozaeid@...rochip.com, ajay.kathat@...rochip.com,
gregkh@...uxfoundation.org, linux-wireless@...r.kernel.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Marko Stankovic <dartnorris@...il.com>
Subject: [PATCH] staging: wilc100: 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@...il.com>
---
drivers/staging/wilc1000/host_interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.17.1
Powered by blists - more mailing lists