Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268713
b: refs/heads/master
c: d0f5527
h: refs/heads/master
i:
  268711: cb60072
v: v3
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Oct 5, 2011
1 parent 1a81409 commit 54a9329
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8be00d98f167b95fac8886d60f9942ef0c744445
refs/heads/master: d0f5527d3949db767425dc84f0e8547824b74708
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/mac80211_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ int brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf, u32 idx)
* Precondition: Since this function is called in brcms_pci_probe() context,
* no locking is required.
*/
int brcms_ucode_init_uint(struct brcms_info *wl, u32 *data, u32 idx)
int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx)
{
int i, entry;
const u8 *pdata;
Expand All @@ -1623,7 +1623,7 @@ int brcms_ucode_init_uint(struct brcms_info *wl, u32 *data, u32 idx)
"ERROR: fw hdr len\n");
return -ENOMSG;
}
*data = le32_to_cpu(*((__le32 *) pdata));
*n_bytes = le32_to_cpu(*((__le32 *) pdata));
return 0;
}
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/ucode_loader.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ extern void brcms_ucode_data_free(struct brcms_ucode *ucode);

extern int brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf,
unsigned int idx);
extern int brcms_ucode_init_uint(struct brcms_info *wl, unsigned *data,
unsigned int idx);
extern int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes,
unsigned int idx);
extern void brcms_ucode_free_buf(void *);
extern int brcms_check_firmwares(struct brcms_info *wl);

Expand Down

0 comments on commit 54a9329

Please sign in to comment.