diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-10 06:32:51 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-15 16:15:44 -0400 |
commit | ffaddbe8f925a4f41eecb31e7fe69a9bdb6e2e59 (patch) | |
tree | 0ed3a91e7ffc698748a8326894ea250d027f8fff /include/scsi/osd_ore.h | |
parent | 769ba7212f2059ca9fe0c73371e3d415c8c1c529 (diff) |
PCI/PM: Make pci_pme_active() ignore devices without PME support
Make pci_pme_active() ignore devices without PME support, so that
it doesn't print the "PME enabled" or "PME disabled" debug messages
for devices that don't support PME.
So that pci_pme_active() doesn't have to check pm_cap in addition
to pme_support, make pci_pm_init() clear pme_support upfront to
make sure that it will be 0 for pm_cap equal to 0.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/scsi/osd_ore.h')
0 files changed, 0 insertions, 0 deletions