]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: pci_has_legacy_pm_support add driver and device to WARN
authorDavid Fries <David@Fries.net>
Sun, 20 Nov 2011 21:29:46 +0000 (15:29 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 Dec 2011 18:41:50 +0000 (10:41 -0800)
commitbf77feb034fc7d3fc0eeb5871694e8086de93819
tree31ce48bbbcff11c99c6c26310b83cc908fb82296
parent22290d9ecd8daf87d0e939a0753bccbaeaa5f7d5
PCI: pci_has_legacy_pm_support add driver and device to WARN

Include the driver name and device in warning when a pci driver
supports both legacy pm and new framework as just the stack trace
gives no way to identify the driver.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-driver.c