diff options
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 971ec1b56b06..0f3a104a0ac8 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -1427,9 +1427,9 @@ u8 b43_ieee80211_antenna_sanitize(struct b43_wldev *dev, | |||
1427 | 1427 | ||
1428 | /* Get the mask of available antennas. */ | 1428 | /* Get the mask of available antennas. */ |
1429 | if (dev->phy.gmode) | 1429 | if (dev->phy.gmode) |
1430 | antenna_mask = dev->sdev->bus->sprom.ant_available_bg; | 1430 | antenna_mask = dev->dev->bus_sprom->ant_available_bg; |
1431 | else | 1431 | else |
1432 | antenna_mask = dev->sdev->bus->sprom.ant_available_a; | 1432 | antenna_mask = dev->dev->bus_sprom->ant_available_a; |
1433 | 1433 | ||
1434 | if (!(antenna_mask & (1 << (antenna_nr - 1)))) { | 1434 | if (!(antenna_mask & (1 << (antenna_nr - 1)))) { |
1435 | /* This antenna is not available. Fall back to default. */ | 1435 | /* This antenna is not available. Fall back to default. */ |
@@ -2599,7 +2599,7 @@ static int b43_gpio_init(struct b43_wldev *dev) | |||
2599 | mask |= 0x0180; | 2599 | mask |= 0x0180; |
2600 | set |= 0x0180; | 2600 | set |= 0x0180; |
2601 | } | 2601 | } |
2602 | if (dev->sdev->bus->sprom.boardflags_lo & B43_BFL_PACTRL) { | 2602 | if (dev->dev->bus_sprom->boardflags_lo & B43_BFL_PACTRL) { |
2603 | b43_write16(dev, B43_MMIO_GPIO_MASK, | 2603 | b43_write16(dev, B43_MMIO_GPIO_MASK, |
2604 | b43_read16(dev, B43_MMIO_GPIO_MASK) | 2604 | b43_read16(dev, B43_MMIO_GPIO_MASK) |
2605 | | 0x0200); | 2605 | | 0x0200); |
@@ -4204,7 +4204,7 @@ static void setup_struct_wldev_for_init(struct b43_wldev *dev) | |||
4204 | 4204 | ||
4205 | static void b43_bluetooth_coext_enable(struct b43_wldev *dev) | 4205 | static void b43_bluetooth_coext_enable(struct b43_wldev *dev) |
4206 | { | 4206 | { |
4207 | struct ssb_sprom *sprom = &dev->sdev->bus->sprom; | 4207 | struct ssb_sprom *sprom = dev->dev->bus_sprom; |
4208 | u64 hf; | 4208 | u64 hf; |
4209 | 4209 | ||
4210 | if (!modparam_btcoex) | 4210 | if (!modparam_btcoex) |
@@ -4318,7 +4318,7 @@ static void b43_wireless_core_exit(struct b43_wldev *dev) | |||
4318 | static int b43_wireless_core_init(struct b43_wldev *dev) | 4318 | static int b43_wireless_core_init(struct b43_wldev *dev) |
4319 | { | 4319 | { |
4320 | struct ssb_bus *bus = dev->sdev->bus; | 4320 | struct ssb_bus *bus = dev->sdev->bus; |
4321 | struct ssb_sprom *sprom = &bus->sprom; | 4321 | struct ssb_sprom *sprom = dev->dev->bus_sprom; |
4322 | struct b43_phy *phy = &dev->phy; | 4322 | struct b43_phy *phy = &dev->phy; |
4323 | int err; | 4323 | int err; |
4324 | u64 hf; | 4324 | u64 hf; |