diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-09-23 14:43:34 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 13:54:18 -0400 |
commit | ec84f1268fcf16c4a852fdb38b3a541748644918 (patch) | |
tree | 1704a70a064ae910cfbe58c21758876f95c0d97d /drivers | |
parent | cef354db0d7a7207ea78c716753d9216a9c2b7e1 (diff) |
PCI: fix -Wakpm warnings in pci_pm_init debug output
Checkpatch would have complained about this but neither Bjorn nor myself
ran it prior to pushing. Fixup the issues Andrew pointed out.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e1a17b85447b..09dc893c81db 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -1270,8 +1270,8 @@ void pci_pm_init(struct pci_dev *dev) | |||
1270 | 1270 | ||
1271 | if (dev->d1_support || dev->d2_support) | 1271 | if (dev->d1_support || dev->d2_support) |
1272 | dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n", | 1272 | dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n", |
1273 | dev->d1_support ? " D1": "", | 1273 | dev->d1_support ? " D1" : "", |
1274 | dev->d2_support ? " D2": ""); | 1274 | dev->d2_support ? " D2" : ""); |
1275 | } | 1275 | } |
1276 | 1276 | ||
1277 | pmc &= PCI_PM_CAP_PME_MASK; | 1277 | pmc &= PCI_PM_CAP_PME_MASK; |