* [PATCH -next] wlcore: spi: fix non static symbol warning
@ 2016-07-22 14:08 Wei Yongjun
2016-09-03 9:55 ` [-next] " Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2016-07-22 14:08 UTC (permalink / raw)
To: Kalle Valo, Andrew F. Davis, Arnd Bergmann, Igor Grinberg,
Uri Mashiach, Rob Herring, Reizer, Eyal
Cc: Wei Yongjun, linux-wireless
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>
---
drivers/net/wireless/ti/wlcore/spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ti/wlcore/spi.c b/drivers/net/wireless/ti/wlcore/spi.c
index 6d24040..0ed526e 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",
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [-next] wlcore: spi: fix non static symbol warning
2016-07-22 14:08 [PATCH -next] wlcore: spi: fix non static symbol warning Wei Yongjun
@ 2016-09-03 9:55 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2016-09-03 9:55 UTC (permalink / raw)
To: Wei Yongjun
Cc: Andrew F. Davis, Arnd Bergmann, Igor Grinberg, Uri Mashiach,
Rob Herring, Reizer, Eyal, Wei Yongjun, linux-wireless
Wei Yongjun <weiyj.lk@gmail.com> wrote:
> 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>
Thanks, 1 patch applied to wireless-drivers-next.git:
4ad0579a28c0 wlcore: spi: fix non static symbol warning
--
Sent by pwcli
https://patchwork.kernel.org/patch/9243695/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-03 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 14:08 [PATCH -next] wlcore: spi: fix non static symbol warning Wei Yongjun
2016-09-03 9:55 ` [-next] " Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).