USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 24 Sep 2013 19:45:25 +0000 (15:45 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 26 Oct 2013 20:06:06 +0000 (21:06 +0100)
commitc9e34fa1d28f3e04e9fbe4cdce5aa9a70c4952f6
tree1f34753d5af53b2ef784bea62a7bce8ab3d562fe
parent7db4eda80eb05f7b0a6c7771920a2eea011b4f80
USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd

commit f875fdbf344b9fde207f66b392c40845dd7e5aa6 upstream.

Since uhci-hcd, ehci-hcd, and xhci-hcd support runtime PM, the .pm
field in their pci_driver structures should be protected by CONFIG_PM
rather than CONFIG_PM_SLEEP.  The corresponding change has already
been made for ohci-hcd.

Without this change, controllers won't do runtime suspend if system
suspend or hibernation isn't enabled.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/host/ehci-pci.c
drivers/usb/host/uhci-pci.c
drivers/usb/host/xhci-pci.c