diff options
Diffstat (limited to 'drivers/net/wireless/orinoco_pci.c')
-rw-r--r-- | drivers/net/wireless/orinoco_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco_pci.c b/drivers/net/wireless/orinoco_pci.c index ff30d37e12e2..7a6f52ea7faa 100644 --- a/drivers/net/wireless/orinoco_pci.c +++ b/drivers/net/wireless/orinoco_pci.c | |||
@@ -294,7 +294,7 @@ static void __devexit orinoco_pci_remove_one(struct pci_dev *pdev) | |||
294 | pci_disable_device(pdev); | 294 | pci_disable_device(pdev); |
295 | } | 295 | } |
296 | 296 | ||
297 | static int orinoco_pci_suspend(struct pci_dev *pdev, u32 state) | 297 | static int orinoco_pci_suspend(struct pci_dev *pdev, pm_message_t state) |
298 | { | 298 | { |
299 | struct net_device *dev = pci_get_drvdata(pdev); | 299 | struct net_device *dev = pci_get_drvdata(pdev); |
300 | struct orinoco_private *priv = netdev_priv(dev); | 300 | struct orinoco_private *priv = netdev_priv(dev); |
@@ -323,7 +323,7 @@ static int orinoco_pci_suspend(struct pci_dev *pdev, u32 state) | |||
323 | orinoco_unlock(priv, &flags); | 323 | orinoco_unlock(priv, &flags); |
324 | 324 | ||
325 | pci_save_state(pdev); | 325 | pci_save_state(pdev); |
326 | pci_set_power_state(pdev, 3); | 326 | pci_set_power_state(pdev, PCI_D3hot); |
327 | 327 | ||
328 | return 0; | 328 | return 0; |
329 | } | 329 | } |