PCI PM: make more PCI PM core functionality available to drivers
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 19 Jul 2008 12:39:24 +0000 (14:39 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 22 Jul 2008 21:25:38 +0000 (14:25 -0700)
Make more PCI PM core functionality available to drivers

* Export pci_pme_capable() so that it can be called directly by
  drivers (for example, tg3 needs that).

* Move the state choosing part of pci_prepare_to_sleep() to a
  separate function, pci_target_state(), that can be called directly
  by drivers (for example, tg3 needs that).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found