Commit e6b8641f authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman

staging: brcm80211: remove extern keyword from function definition

Sparse warning was given when using the extern keyword in the function
definition. This patch removes those instances.
Reported-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: default avatarFranky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 89591e29
...@@ -76,8 +76,7 @@ brcmf_pm_resume_wait(struct brcmf_sdio_dev *sdiodev, wait_queue_head_t wq) ...@@ -76,8 +76,7 @@ brcmf_pm_resume_wait(struct brcmf_sdio_dev *sdiodev, wait_queue_head_t wq)
#endif #endif
} }
extern int int brcmf_sdioh_request_byte(struct brcmf_sdio_dev *sdiodev, uint rw, uint func,
brcmf_sdioh_request_byte(struct brcmf_sdio_dev *sdiodev, uint rw, uint func,
uint regaddr, u8 *byte) uint regaddr, u8 *byte)
{ {
int err_ret; int err_ret;
...@@ -173,9 +172,9 @@ brcmf_sdioh_request_byte(struct brcmf_sdio_dev *sdiodev, uint rw, uint func, ...@@ -173,9 +172,9 @@ brcmf_sdioh_request_byte(struct brcmf_sdio_dev *sdiodev, uint rw, uint func,
return err_ret; return err_ret;
} }
extern int int brcmf_sdioh_request_word(struct brcmf_sdio_dev *sdiodev,
brcmf_sdioh_request_word(struct brcmf_sdio_dev *sdiodev, uint rw, uint rw, uint func, uint addr, u32 *word,
uint func, uint addr, u32 *word, uint nbytes) uint nbytes)
{ {
int err_ret = -EIO; int err_ret = -EIO;
...@@ -304,8 +303,7 @@ brcmf_sdioh_request_packet(struct brcmf_sdio_dev *sdiodev, uint fix_inc, ...@@ -304,8 +303,7 @@ brcmf_sdioh_request_packet(struct brcmf_sdio_dev *sdiodev, uint fix_inc,
* aligned packet. * aligned packet.
* *
*/ */
extern int int brcmf_sdioh_request_buffer(struct brcmf_sdio_dev *sdiodev,
brcmf_sdioh_request_buffer(struct brcmf_sdio_dev *sdiodev,
uint fix_inc, uint write, uint func, uint addr, uint fix_inc, uint write, uint func, uint addr,
uint reg_width, uint buflen_u, u8 *buffer, uint reg_width, uint buflen_u, u8 *buffer,
struct sk_buff *pkt) struct sk_buff *pkt)
...@@ -425,8 +423,7 @@ static int brcmf_sdioh_get_cisaddr(struct brcmf_sdio_dev *sdiodev, u32 regaddr) ...@@ -425,8 +423,7 @@ static int brcmf_sdioh_get_cisaddr(struct brcmf_sdio_dev *sdiodev, u32 regaddr)
return scratch; return scratch;
} }
extern int int brcmf_sdioh_cis_read(struct brcmf_sdio_dev *sdiodev, uint func,
brcmf_sdioh_cis_read(struct brcmf_sdio_dev *sdiodev, uint func,
u8 *cisd, u32 length) u8 *cisd, u32 length)
{ {
u32 count; u32 count;
......
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