From: Andrew Lunn Date: Mon, 9 Jul 2007 18:55:58 +0000 (-0700) Subject: PCI: pci_set_power_state(): check for PM capabilities earlier X-Git-Tag: v2.6.23-rc1~1106^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca03dec2f0eb8f3c4578e067d2b20a366b940db;p=pandora-kernel.git PCI: pci_set_power_state(): check for PM capabilities earlier Check for PCI_CAP_ID_PM before checking the device state. Apparently fixes some log spam via the 3c59x driver. Signed-off-by: Andrew Lunn Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed