wlcore: spi: fix non static symbol warning
authorWei Yongjun <weiyj.lk@gmail.com>
Fri, 22 Jul 2016 14:08:08 +0000 (14:08 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 09:55:43 +0000 (12:55 +0300)
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>
drivers/net/wireless/ti/wlcore/spi.c

index 6d24040889b81ba3c0a6868c6234f38bb73ba770..0ed526e4c0dfcaa8c2690c051d4ccc01ed401244 100644 (file)
@@ -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",