diff options
author | David Brownell <david-b@pacbell.net> | 2005-04-18 20:39:23 -0400 |
---|---|---|
committer | Greg K-H <gregkh@suse.de> | 2005-04-18 20:39:23 -0400 |
commit | 9a5d3e98dd31abcecbf4533b81866d440cc0f106 (patch) | |
tree | 8638550bd50ff0fdc3b097d0643b5efed3516633 /drivers/usb/host/uhci-hcd.c | |
parent | 27d72e8572336d9f4e17a12ac924cb5223a5758d (diff) |
[PATCH] USB: hcd suspend uses pm_message_t
This patch includes minor "sparse -Wbitwise" updates for the PCI based
HCDs. Almost all of them involve just changing the second parameter of the
suspend() method to a pm_message_t ... the others relate to how the EHCI
code walks in-memory data structures. (There's a minor bug fixed there too
... affecting the big-endian sysfs async schedule dump.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Index: gregkh-2.6/drivers/usb/core/hcd.h
===================================================================
Diffstat (limited to 'drivers/usb/host/uhci-hcd.c')
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 324a1a9bbdb2..98745a072d6f 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -716,7 +716,7 @@ static void uhci_stop(struct usb_hcd *hcd) | |||
716 | } | 716 | } |
717 | 717 | ||
718 | #ifdef CONFIG_PM | 718 | #ifdef CONFIG_PM |
719 | static int uhci_suspend(struct usb_hcd *hcd, u32 state) | 719 | static int uhci_suspend(struct usb_hcd *hcd, pm_message_t message) |
720 | { | 720 | { |
721 | struct uhci_hcd *uhci = hcd_to_uhci(hcd); | 721 | struct uhci_hcd *uhci = hcd_to_uhci(hcd); |
722 | 722 | ||