diff options
-rw-r--r-- | drivers/bcma/driver_pci.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/main.c | 2 | ||||
-rw-r--r-- | include/linux/bcma/bcma_driver_pci.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c index cf92bfa7eae0..cfd35bc1c5a3 100644 --- a/drivers/bcma/driver_pci.c +++ b/drivers/bcma/driver_pci.c | |||
@@ -282,21 +282,21 @@ void bcma_core_pci_power_save(struct bcma_bus *bus, bool up) | |||
282 | } | 282 | } |
283 | EXPORT_SYMBOL_GPL(bcma_core_pci_power_save); | 283 | EXPORT_SYMBOL_GPL(bcma_core_pci_power_save); |
284 | 284 | ||
285 | int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc, struct bcma_device *core, | 285 | int bcma_core_pci_irq_ctl(struct bcma_bus *bus, struct bcma_device *core, |
286 | bool enable) | 286 | bool enable) |
287 | { | 287 | { |
288 | struct pci_dev *pdev; | 288 | struct pci_dev *pdev; |
289 | u32 coremask, tmp; | 289 | u32 coremask, tmp; |
290 | int err = 0; | 290 | int err = 0; |
291 | 291 | ||
292 | if (!pc || core->bus->hosttype != BCMA_HOSTTYPE_PCI) { | 292 | if (bus->hosttype != BCMA_HOSTTYPE_PCI) { |
293 | /* This bcma device is not on a PCI host-bus. So the IRQs are | 293 | /* This bcma device is not on a PCI host-bus. So the IRQs are |
294 | * not routed through the PCI core. | 294 | * not routed through the PCI core. |
295 | * So we must not enable routing through the PCI core. */ | 295 | * So we must not enable routing through the PCI core. */ |
296 | goto out; | 296 | goto out; |
297 | } | 297 | } |
298 | 298 | ||
299 | pdev = pc->core->bus->host_pci; | 299 | pdev = bus->host_pci; |
300 | 300 | ||
301 | err = pci_read_config_dword(pdev, BCMA_PCI_IRQMASK, &tmp); | 301 | err = pci_read_config_dword(pdev, BCMA_PCI_IRQMASK, &tmp); |
302 | if (err) | 302 | if (err) |
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 34065a6f7725..f34aa67f3179 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -4866,7 +4866,7 @@ static int b43_wireless_core_init(struct b43_wldev *dev) | |||
4866 | switch (dev->dev->bus_type) { | 4866 | switch (dev->dev->bus_type) { |
4867 | #ifdef CONFIG_B43_BCMA | 4867 | #ifdef CONFIG_B43_BCMA |
4868 | case B43_BUS_BCMA: | 4868 | case B43_BUS_BCMA: |
4869 | bcma_core_pci_irq_ctl(&dev->dev->bdev->bus->drv_pci[0], | 4869 | bcma_core_pci_irq_ctl(dev->dev->bdev->bus, |
4870 | dev->dev->bdev, true); | 4870 | dev->dev->bdev, true); |
4871 | bcma_host_pci_up(dev->dev->bdev->bus); | 4871 | bcma_host_pci_up(dev->dev->bdev->bus); |
4872 | break; | 4872 | break; |
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c index bcbfc6e467e4..c84af1dfc88f 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c | |||
@@ -4959,7 +4959,7 @@ static int brcms_b_up_prep(struct brcms_hardware *wlc_hw) | |||
4959 | * Configure pci/pcmcia here instead of in brcms_c_attach() | 4959 | * Configure pci/pcmcia here instead of in brcms_c_attach() |
4960 | * to allow mfg hotswap: down, hotswap (chip power cycle), up. | 4960 | * to allow mfg hotswap: down, hotswap (chip power cycle), up. |
4961 | */ | 4961 | */ |
4962 | bcma_core_pci_irq_ctl(&wlc_hw->d11core->bus->drv_pci[0], wlc_hw->d11core, | 4962 | bcma_core_pci_irq_ctl(wlc_hw->d11core->bus, wlc_hw->d11core, |
4963 | true); | 4963 | true); |
4964 | 4964 | ||
4965 | /* | 4965 | /* |
diff --git a/include/linux/bcma/bcma_driver_pci.h b/include/linux/bcma/bcma_driver_pci.h index 23af893e9b86..6b8bca67851f 100644 --- a/include/linux/bcma/bcma_driver_pci.h +++ b/include/linux/bcma/bcma_driver_pci.h | |||
@@ -240,7 +240,7 @@ struct bcma_drv_pci { | |||
240 | 240 | ||
241 | extern void bcma_core_pci_early_init(struct bcma_drv_pci *pc); | 241 | extern void bcma_core_pci_early_init(struct bcma_drv_pci *pc); |
242 | extern void bcma_core_pci_init(struct bcma_drv_pci *pc); | 242 | extern void bcma_core_pci_init(struct bcma_drv_pci *pc); |
243 | extern int bcma_core_pci_irq_ctl(struct bcma_drv_pci *pc, | 243 | extern int bcma_core_pci_irq_ctl(struct bcma_bus *bus, |
244 | struct bcma_device *core, bool enable); | 244 | struct bcma_device *core, bool enable); |
245 | extern void bcma_core_pci_power_save(struct bcma_bus *bus, bool up); | 245 | extern void bcma_core_pci_power_save(struct bcma_bus *bus, bool up); |
246 | 246 | ||