Commit 2b0446c4 authored by Chris Yungmann's avatar Chris Yungmann Committed by John W. Linville

brcm80211: brcmsmac: fixed checkpatch and sparse warnings

Fixed checkpatch and sparse warnings related to aiutils.*
Signed-off-by: default avatarChris Yungmann <yungmann.chris@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ebf348fc
...@@ -631,9 +631,8 @@ uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val) ...@@ -631,9 +631,8 @@ uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val)
cc = sii->icbus->drv_cc.core; cc = sii->icbus->drv_cc.core;
/* mask and set */ /* mask and set */
if (mask || val) { if (mask || val)
bcma_maskset32(cc, regoff, ~mask, val); bcma_maskset32(cc, regoff, ~mask, val);
}
/* readback */ /* readback */
w = bcma_read32(cc, regoff); w = bcma_read32(cc, regoff);
......
...@@ -193,7 +193,7 @@ extern void ai_detach(struct si_pub *sih); ...@@ -193,7 +193,7 @@ extern void ai_detach(struct si_pub *sih);
extern uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val); extern uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
extern void ai_clkctl_init(struct si_pub *sih); extern void ai_clkctl_init(struct si_pub *sih);
extern u16 ai_clkctl_fast_pwrup_delay(struct si_pub *sih); extern u16 ai_clkctl_fast_pwrup_delay(struct si_pub *sih);
extern bool ai_clkctl_cc(struct si_pub *sih, uint mode); extern bool ai_clkctl_cc(struct si_pub *sih, enum bcma_clkmode mode);
extern bool ai_deviceremoved(struct si_pub *sih); extern bool ai_deviceremoved(struct si_pub *sih);
extern void ai_pci_down(struct si_pub *sih); extern void ai_pci_down(struct si_pub *sih);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment