summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnmol Sarma <me@anmolsarma.in>2014-01-09 23:44:43 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-12 00:37:58 +0400
commit1af1275d8426bf0b57230ea68b2452016d51939d (patch)
treed598c5e7106038f7c21325316f68fdb97347820d /drivers
parent9ca4830feb7c1c7c58e1cebfc7ca5d970657387a (diff)
downloadlinux-1af1275d8426bf0b57230ea68b2452016d51939d.tar.xz
Staging: rtl8187se: r8180_wx.c: make 'rtl8180_rates' static
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8187se/r8180_wx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8187se/r8180_wx.c b/drivers/staging/rtl8187se/r8180_wx.c
index 256762395bf9..9b676e027cad 100644
--- a/drivers/staging/rtl8187se/r8180_wx.c
+++ b/drivers/staging/rtl8187se/r8180_wx.c
@@ -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)