summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-11-19 00:44:28 +0300
committerKalle Valo <kvalo@codeaurora.org>2016-11-25 12:51:02 +0300
commit13e1349aff8290d328a3caf34d42b909dbab8491 (patch)
tree624c6f2bab79b3b858821287719a51abade0ed7a /drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
parentb4c3d9cfb6075ded389485dfc8cb9e30aa5a4272 (diff)
downloadlinux-13e1349aff8290d328a3caf34d42b909dbab8491.tar.xz
rtl8xxxu: Fix non static symbol warning
Fixes the following sparse warning: drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c:1559:6: warning: symbol 'rtl8192eu_power_off' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c')
-rw-r--r--drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
index a793fedc3654..a1178c5d6ad8 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c
@@ -1556,7 +1556,7 @@ exit:
return ret;
}
-void rtl8192eu_power_off(struct rtl8xxxu_priv *priv)
+static void rtl8192eu_power_off(struct rtl8xxxu_priv *priv)
{
u8 val8;
u16 val16;