diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2010-08-31 01:43:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-31 17:59:52 (GMT) |
commit | 16e53729b799dce572557022952d63cc19f47a7b (patch) | |
tree | cdd92b9a1dfb1c3e8b94b4e4a3f8cc93b5491239 /drivers/staging/rtl8712/rtl871x_mp.c | |
parent | 921a86e0e306e42452e16894f2cc792659ede16b (diff) | |
download | linux-fsl-qoriq-16e53729b799dce572557022952d63cc19f47a7b.tar.xz |
staging: r8712u: Fix sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_mp.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_mp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_mp.c b/drivers/staging/rtl8712/rtl871x_mp.c index a28e9bf..427467c 100644 --- a/drivers/staging/rtl8712/rtl871x_mp.c +++ b/drivers/staging/rtl8712/rtl871x_mp.c @@ -207,7 +207,7 @@ static u32 bitshift(u32 bitmask) return i; } -u32 get_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask) +static u32 get_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask) { u32 org_value, bit_shift, new_value; @@ -217,7 +217,7 @@ u32 get_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask) return new_value; } -u8 set_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask, u32 value) +static u8 set_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask, u32 value) { u32 org_value, bit_shift, new_value; |