diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-10 14:32:51 +0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-16 00:15:44 +0400 |
commit | ffaddbe8f925a4f41eecb31e7fe69a9bdb6e2e59 (patch) | |
tree | 0ed3a91e7ffc698748a8326894ea250d027f8fff /include/uapi/scsi/scsi_netlink_fc.h | |
parent | 769ba7212f2059ca9fe0c73371e3d415c8c1c529 (diff) | |
download | linux-ffaddbe8f925a4f41eecb31e7fe69a9bdb6e2e59.tar.xz |
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/uapi/scsi/scsi_netlink_fc.h')
0 files changed, 0 insertions, 0 deletions