Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220159
b: refs/heads/master
c: 8ba9cfd
h: refs/heads/master
i:
  220157: 52ad6be
  220155: 4c0a771
  220151: 5fda33c
  220143: 6bad25b
  220127: 4eba29e
  220095: 18ba26e
  220031: 43665b2
  219903: 6154a6d
  219647: 991ee1a
  219135: 0eda1b0
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 7, 2010
1 parent 90d540d commit 4685ed6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 517b12f2a0d9f9e6de680b30242ec6432d2af7f7
refs/heads/master: 8ba9cfdbfc0fe3e84d150d66737210a34846e8a7
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/bcmsdh_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ int bcmsdh_register(bcmsdh_driver_t *driver)
if (!error)
return 0;

SDLX_MSG(("%s: pci_module_init failed 0x%x\n", __func__, error));
SDLX_MSG(("%s: pci_register_driver failed 0x%x\n", __func__, error));
#endif /* BCMPLATFORM_BUS */

return error;
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/brcm80211/include/linuxver.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,8 @@ typedef irqreturn_t(*FN_ISR) (int irq, void *dev_id, struct pt_regs * ptregs);
#define __devexit_p(x) x
#endif

#define pci_module_init pci_register_driver

#define netif_down(dev)

/* Power management related macro & routines */
#define PCI_SAVE_STATE(a, b) pci_save_state(a)
#define PCI_RESTORE_STATE(a, b) pci_restore_state(a)

/* suspend args */
#define DRV_SUSPEND_STATE_TYPE pm_message_t

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/brcm80211/sys/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ static int wl_suspend(struct pci_dev *pdev, DRV_SUSPEND_STATE_TYPE state)
wl_down(wl);
wl->pub->hw_up = FALSE;
WL_UNLOCK(wl);
PCI_SAVE_STATE(pdev, wl->pci_psstate);
pci_save_state(pdev, wl->pci_psstate);
pci_disable_device(pdev);
return pci_set_power_state(pdev, PCI_D3hot);
}
Expand All @@ -1401,7 +1401,7 @@ static int wl_resume(struct pci_dev *pdev)
if (err)
return err;

PCI_RESTORE_STATE(pdev, wl->pci_psstate);
pci_restore_state(pdev, wl->pci_psstate);

err = pci_enable_device(pdev);
if (err)
Expand Down Expand Up @@ -1498,7 +1498,7 @@ static int __init wl_module_init(void)
#endif /* BCMDBG */

#ifndef BCMSDIO
error = pci_module_init(&wl_pci_driver);
error = pci_register_driver(&wl_pci_driver);
if (!error)
return 0;

Expand Down

0 comments on commit 4685ed6

Please sign in to comment.