projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8432ebd
)
wlcore: spi: fix non static symbol warning
author
Wei Yongjun
<weiyj.lk@gmail.com>
Fri, 22 Jul 2016 14:08:08 +0000
(14:08 +0000)
committer
Kalle 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/spi.c
b/drivers/net/wireless/ti/wlcore/spi.c
index 6d24040889b81ba3c0a6868c6234f38bb73ba770..0ed526e4c0dfcaa8c2690c051d4ccc01ed401244 100644
(file)
--- 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",