aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-10-18 08:03:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-08 15:54:08 -0500
commit094b199bf707a41bc6748f0c2f0a23ecf5d2ccd6 (patch)
tree5a93028646c8d84ec78ff8a469d59b176e2fb5f3 /drivers/net
parent888153b3db3fb10a048768c0c262951e2bc19719 (diff)
brcm80211: smac: some local function made static in main.c
In main.c a couple of functions were not static although they were only locally used. Sparse gave warnings on them and these functions have been made static. Reviewed-by: Alwin Beukers <alwin@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c
index 2e1a20be5565..abb49fcb452f 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -618,9 +618,8 @@ static void brcms_b_update_slot_timing(struct brcms_hardware *wlc_hw,
618 * calculate frame duration of a given rate and length, return 618 * calculate frame duration of a given rate and length, return
619 * time in usec unit 619 * time in usec unit
620 */ 620 */
621uint 621static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec,
622brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, 622 u8 preamble_type, uint mac_len)
623 u8 preamble_type, uint mac_len)
624{ 623{
625 uint nsyms, dur = 0, Ndps, kNdps; 624 uint nsyms, dur = 0, Ndps, kNdps;
626 uint rate = rspec2rate(ratespec); 625 uint rate = rspec2rate(ratespec);
@@ -4184,7 +4183,7 @@ void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci,
4184 } 4183 }
4185} 4184}
4186 4185
4187void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend) 4186static void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend)
4188{ 4187{
4189 u16 aci; 4188 u16 aci;
4190 int i_ac; 4189 int i_ac;
@@ -6100,9 +6099,9 @@ void brcms_c_print_txdesc(struct d11txh *txh)
6100#endif /* defined(BCMDBG) */ 6099#endif /* defined(BCMDBG) */
6101 6100
6102#if defined(BCMDBG) 6101#if defined(BCMDBG)
6103int 6102static int
6104brcms_c_format_flags(const struct brcms_c_bit_desc *bd, u32 flags, char *buf, 6103brcms_c_format_flags(const struct brcms_c_bit_desc *bd, u32 flags, char *buf,
6105 int len) 6104 int len)
6106{ 6105{
6107 int i; 6106 int i;
6108 char *p = buf; 6107 char *p = buf;