Skip to content

Commit

Permalink
staging: brcm80211: replaced wlc_hw_info_t by struct wlc_hw_info
Browse files Browse the repository at this point in the history
Part of code cleanup effort.

Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Dec 7, 2010
1 parent 8538576 commit e304151
Show file tree
Hide file tree
Showing 8 changed files with 252 additions and 240 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/brcm80211/sys/wlc_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ struct wlc_info *wlc_attach_malloc(struct osl_info *osh, uint unit, uint *err,
}
wlc->pub->wlc = wlc;

/* allocate wlc_hw_info_t state structure */
/* allocate struct wlc_hw_info state structure */

wlc->hw = (wlc_hw_info_t *)wlc_calloc(osh, unit,
sizeof(wlc_hw_info_t));
wlc->hw = (struct wlc_hw_info *)wlc_calloc(osh, unit,
sizeof(struct wlc_hw_info));
if (wlc->hw == NULL) {
*err = 1005;
goto fail;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/sys/wlc_antsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const u8 mimo_2x3_div_antselid_tbl[16] = {

antsel_info_t *wlc_antsel_attach(struct wlc_info *wlc, struct osl_info *osh,
wlc_pub_t *pub,
wlc_hw_info_t *wlc_hw) {
struct wlc_hw_info *wlc_hw) {
antsel_info_t *asi;

asi = kzalloc(sizeof(antsel_info_t), GFP_ATOMIC);
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/brcm80211/sys/wlc_antsel.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
extern antsel_info_t *wlc_antsel_attach(struct wlc_info *wlc,
struct osl_info *osh,
wlc_pub_t *pub,
wlc_hw_info_t *wlc_hw);
struct wlc_hw_info *wlc_hw);
extern void wlc_antsel_detach(antsel_info_t *asi);
extern void wlc_antsel_init(antsel_info_t *asi);
extern void wlc_antsel_antcfg_get(antsel_info_t *asi, bool usedef, bool sel,
Expand Down
Loading

0 comments on commit e304151

Please sign in to comment.