projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca0151
)
ssb/trivial: replace numeric with standard PM state macros
author
Yijing Wang
<wangyijing@huawei.com>
Thu, 27 Jun 2013 13:00:11 +0000
(21:00 +0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 29 Jun 2013 05:11:48 +0000
(22:11 -0700)
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>
drivers/ssb/pcihost_wrapper.c
patch
|
blob
|
history
diff --git
a/drivers/ssb/pcihost_wrapper.c
b/drivers/ssb/pcihost_wrapper.c
index
32ed1fa
..
69161bb
100644
(file)
--- 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)
struct ssb_bus *ssb = pci_get_drvdata(dev);
int err;
- pci_set_power_state(dev, 0);
+ pci_set_power_state(dev,
PCI_D
0);
err = pci_enable_device(dev);
if (err)
return err;