USB: fix autosuspend when CONFIG_PM isn't set
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 26 Sep 2006 18:50:20 +0000 (14:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:36:46 +0000 (15:36 -0700)
commite0318ebff4d96131bb3524308b845f642e64df81
tree20cc60b491fc9694521a48a996075e652ab9de49
parent8d1a243ba5dda5c1a3cca5df8fb19ab8b138f074
USB: fix autosuspend when CONFIG_PM isn't set

This patch (as791b) fixes things up to avoid compiler warnings or
errors when CONFIG_USB_SUSPEND or CONFIG_PM isn't set.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c
drivers/usb/core/hub.c
drivers/usb/core/usb.c
drivers/usb/core/usb.h
include/linux/usb.h