diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-06-27 09:00:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-29 01:11:48 -0400 |
commit | d36a21da415b8e6545ae8b4eb6b23eea2ce001c8 (patch) | |
tree | 753ffccc03241b4e24528c71e784250b6a3a5cf2 /drivers/ssb | |
parent | 1ca01512a2a95aa061c3fc24b7c5d7fad9f606bf (diff) |
ssb/trivial: replace numeric with standard PM state macros
Use standard PM state macros PCI_Dx instead of numeric 0/1/2..
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/pcihost_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/pcihost_wrapper.c b/drivers/ssb/pcihost_wrapper.c index 32ed1fa4a82e..69161bbc4d0b 100644 --- a/drivers/ssb/pcihost_wrapper.c +++ b/drivers/ssb/pcihost_wrapper.c | |||
@@ -38,7 +38,7 @@ static int ssb_pcihost_resume(struct pci_dev *dev) | |||
38 | struct ssb_bus *ssb = pci_get_drvdata(dev); | 38 | struct ssb_bus *ssb = pci_get_drvdata(dev); |
39 | int err; | 39 | int err; |
40 | 40 | ||
41 | pci_set_power_state(dev, 0); | 41 | pci_set_power_state(dev, PCI_D0); |
42 | err = pci_enable_device(dev); | 42 | err = pci_enable_device(dev); |
43 | if (err) | 43 | if (err) |
44 | return err; | 44 | return err; |