diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2010-01-26 17:42:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-27 15:02:07 -0500 |
commit | da8604757b1cdf79f24e118b156349543eb1b722 (patch) | |
tree | 9284a8a2664c6777771f6b2bdf34acada83e37e0 /drivers | |
parent | d2bb8e02810cc5844fe2bd5a81d4058b8afe6de9 (diff) |
b43: N PHY: Fix compilation after removal of typdef b43_c32
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index df4bf435e218..8c39fb126d4f 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -822,7 +822,7 @@ static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max, | |||
822 | { | 822 | { |
823 | int i; | 823 | int i; |
824 | u16 bw, len, rot, angle; | 824 | u16 bw, len, rot, angle; |
825 | b43_c32 *samples; | 825 | struct b43_c32 *samples; |
826 | 826 | ||
827 | 827 | ||
828 | bw = (dev->phy.is_40mhz) ? 40 : 20; | 828 | bw = (dev->phy.is_40mhz) ? 40 : 20; |
@@ -840,7 +840,7 @@ static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max, | |||
840 | len = bw << 1; | 840 | len = bw << 1; |
841 | } | 841 | } |
842 | 842 | ||
843 | samples = kzalloc(len * sizeof(b43_c32), GFP_KERNEL); | 843 | samples = kzalloc(len * sizeof(struct b43_c32), GFP_KERNEL); |
844 | rot = (((freq * 36) / bw) << 16) / 100; | 844 | rot = (((freq * 36) / bw) << 16) / 100; |
845 | angle = 0; | 845 | angle = 0; |
846 | 846 | ||