]> err.no Git - linux-2.6/commitdiff
USB: fix up some odd parts due to partial merges
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 29 Oct 2005 02:59:31 +0000 (19:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 29 Oct 2005 02:59:31 +0000 (19:59 -0700)
Thanks to Andrew for doing the hard work on this.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
drivers/usb/host/ehci-pci.c

index 9660a8909b7ca9860f50776d41e992486f60df2d..256d9f6987156d32dbed6a2706bfcc7021dcbf86 100644 (file)
@@ -1674,7 +1674,7 @@ int usb_suspend_device(struct usb_device *udev)
        return 0;
 #endif
 }
-
+EXPORT_SYMBOL_GPL(usb_suspend_device);
 
 /*
  * If the USB "suspend" state is in use (rather than "global suspend"),
index 7872469ccbb14810872a67531380403c3674697b..1450088539660564693a85c81163a07d72e98350 100644 (file)
@@ -252,7 +252,7 @@ static int ehci_pci_suspend (struct usb_hcd *hcd, pm_message_t message)
        (void) usb_suspend_device (hcd->self.root_hub);
 #else
        usb_lock_device (hcd->self.root_hub);
-       (void) ehci_hub_suspend (hcd);
+       (void) ehci_bus_suspend (hcd);
        usb_unlock_device (hcd->self.root_hub);
 #endif
 
@@ -285,7 +285,7 @@ static int ehci_pci_resume (struct usb_hcd *hcd)
                        continue;
                if (status & (PORT_SUSPEND | PORT_OWNER)) {
                        down (&hcd->self.root_hub->serialize);
-                       retval = ehci_hub_resume (hcd);
+                       retval = ehci_bus_resume (hcd);
                        up (&hcd->self.root_hub->serialize);
                        break;
                }