]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: rtl8187se: r8180_wx.c: make 'rtl8180_rates' static
authorAnmol Sarma <me@anmolsarma.in>
Thu, 9 Jan 2014 19:44:43 +0000 (01:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Jan 2014 20:37:58 +0000 (12:37 -0800)
Fixes the following sparse warning:
27:5: warning: symbol 'rtl8180_rates' was not declared. Should it be static?

Signed-off-by: Anmol Sarma <me@anmolsarma.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180_wx.c

index 256762395bf9b56c09fd2740ff12805ca550436d..9b676e027cadbc40f5916f3b9094be477c379b30 100644 (file)
@@ -24,7 +24,7 @@
 #include <net/iw_handler.h>
 #include "ieee80211/dot11d.h"
 
-u32 rtl8180_rates[] = {1000000, 2000000, 5500000, 11000000,
+static u32 rtl8180_rates[] = {1000000, 2000000, 5500000, 11000000,
        6000000, 9000000, 12000000, 18000000, 24000000, 36000000, 48000000, 54000000};
 
 #define RATE_COUNT ARRAY_SIZE(rtl8180_rates)