From: Jesse Barnes Date: Tue, 23 Sep 2008 18:43:34 +0000 (-0700) Subject: PCI: fix -Wakpm warnings in pci_pm_init debug output X-Git-Tag: v2.6.28-rc1~77^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec84f1268fcf16c4a852fdb38b3a541748644918;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 --- diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e1a17b8..09dc893 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1270,8 +1270,8 @@ void pci_pm_init(struct pci_dev *dev) if (dev->d1_support || dev->d2_support) dev_printk(KERN_DEBUG, &dev->dev, "supports%s%s\n", - dev->d1_support ? " D1": "", - dev->d2_support ? " D2": ""); + dev->d1_support ? " D1" : "", + dev->d2_support ? " D2" : ""); } pmc &= PCI_PM_CAP_PME_MASK;