rtl8xxxu: Fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 18 Nov 2016 21:44:28 +0000 (16:44 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 Nov 2016 09:51:02 +0000 (11:51 +0200)
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>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c

index a793fed..a1178c5 100644 (file)
@@ -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;