Skip to content

Commit

Permalink
b43: N PHY: Fix compilation after removal of typdef b43_c32
Browse files Browse the repository at this point in the history
In the conversion between typedef and struct, two places that needed a "struct"
were missed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Larry Finger authored and John W. Linville committed Jan 27, 2010
1 parent d2bb8e0 commit da86047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/b43/phy_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max,
{
int i;
u16 bw, len, rot, angle;
b43_c32 *samples;
struct b43_c32 *samples;


bw = (dev->phy.is_40mhz) ? 40 : 20;
Expand All @@ -840,7 +840,7 @@ static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max,
len = bw << 1;
}

samples = kzalloc(len * sizeof(b43_c32), GFP_KERNEL);
samples = kzalloc(len * sizeof(struct b43_c32), GFP_KERNEL);
rot = (((freq * 36) / bw) << 16) / 100;
angle = 0;

Expand Down

0 comments on commit da86047

Please sign in to comment.