summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti
diff options
context:
space:
mode:
authorWei Yongjun <weiyj.lk@gmail.com>2016-07-22 16:08:08 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-09-03 11:55:43 +0200
commit4ad0579a28c0a02613c1d4a53c03ae746f14b0ac (patch)
tree8df7067bd36a51ce059a2d5c85ada67f9e289b0b /drivers/net/wireless/ti
parenthostap: Use memdup_user() to reuse code (diff)
downloadlinux-4ad0579a28c0a02613c1d4a53c03ae746f14b0ac.tar.xz
linux-4ad0579a28c0a02613c1d4a53c03ae746f14b0ac.zip
wlcore: spi: fix non static symbol warning
Fixes the following sparse warning: drivers/net/wireless/ti/wlcore/spi.c:87:34: warning: symbol 'wilink_data' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r--drivers/net/wireless/ti/wlcore/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/spi.c b/drivers/net/wireless/ti/wlcore/spi.c
index 6d24040889b8..0ed526e4c0df 100644
--- a/drivers/net/wireless/ti/wlcore/spi.c
+++ b/drivers/net/wireless/ti/wlcore/spi.c
@@ -84,7 +84,7 @@ struct wilink_familiy_data {
char name[8];
};
-const struct wilink_familiy_data *wilink_data;
+static const struct wilink_familiy_data *wilink_data;
static const struct wilink_familiy_data wl18xx_data = {
.name = "wl18xx",