summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u
diff options
context:
space:
mode:
authorEddie Kovsky <ewk@edkovsky.org>2015-03-26 07:16:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 15:13:13 +0300
commit73454eaf2032c64f1d863ac7e91304e4bf903bfb (patch)
tree86fae0a478c4a2148a2b6b4877e38e9aff16a73f /drivers/staging/rtl8192u
parentd9e048cdd260a1e7f9f2e25cb2bad46521812d99 (diff)
downloadlinux-73454eaf2032c64f1d863ac7e91304e4bf903bfb.tar.xz
Staging: rtl8192 Clean up function definition
Change function definition to match its prototype declaration. This fixes the following warning generated by sparse: drivers/staging/rtl8192u/r8192U_core.c:1970:6: warning: symbol 'rtl8192_update_ratr_table' was not declared. Should it be static? Signed-off-by: Eddie Kovsky <ewk@edkovsky.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r--drivers/staging/rtl8192u/r8192U_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index 8834c23d67fc..a4795afeeb9c 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -1967,7 +1967,7 @@ static int rtl8192_handle_assoc_response(struct net_device *dev,
}
-void rtl8192_update_ratr_table(struct net_device *dev)
+static void rtl8192_update_ratr_table(struct net_device *dev)
{
struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_device *ieee = priv->ieee80211;