Commit d36a21da415b8e6545ae8b4eb6b23eea2ce001c8

Authored by Yijing Wang
Committed by David S. Miller
1 parent 1ca01512a2

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/ssb/pcihost_wrapper.c
... ... @@ -38,7 +38,7 @@
38 38 struct ssb_bus *ssb = pci_get_drvdata(dev);
39 39 int err;
40 40  
41   - pci_set_power_state(dev, 0);
  41 + pci_set_power_state(dev, PCI_D0);
42 42 err = pci_enable_device(dev);
43 43 if (err)
44 44 return err;