projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59415c
)
rtl8xxxu: gen1: Fix non static symbol warning
author
Wei Yongjun
<
[email protected]
>
Fri, 19 Aug 2016 21:46:41 +0000
(17:46 -0400)
committer
Kalle Valo
<
[email protected]
>
Sat, 3 Sep 2016 16:57:33 +0000
(19:57 +0300)
Fixes the following sparse warning:
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c:898:1: warning:
symbol 'rtl8xxxu_gen1_h2c_cmd' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <
[email protected]
>
Signed-off-by: Jes Sorensen <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index e02fab09949674f9bcb18a0f542527bc4ddd6bb6..508d46f6db7b07acb66db52e5ae9af5dd8c805f9 100644
(file)
--- a/
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@
-894,7
+894,7
@@
int rtl8xxxu_write_rfreg(struct rtl8xxxu_priv *priv,
return retval;
}
-int
+
static
int
rtl8xxxu_gen1_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len)
{
struct device *dev = &priv->udev->dev;