b43: N PHY: Fix compilation after removal of typdef b43_c32
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 26 Jan 2010 22:42:02 +0000 (16:42 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Jan 2010 20:02:07 +0000 (15:02 -0500)
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>
drivers/net/wireless/b43/phy_n.c

index df4bf435e218c28c55cd0580346b6f35019137ef..8c39fb126d4fdffacf477c122b49b213a2bcdb5d 100644 (file)
@@ -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;
@@ -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;