summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-ppc-soc.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-10-10 05:04:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 21:55:33 (GMT)
commitb24896c6b7ddb37ab20ba0bbfd0ed36a38923f67 (patch)
treee8b758635e84e5f9157f0504bb31207f4aae45a8 /drivers/usb/host/ehci-ppc-soc.c
parent4f45426cfd6170311e116442ccd8ce0e31979237 (diff)
downloadlinux-fsl-qoriq-b24896c6b7ddb37ab20ba0bbfd0ed36a38923f67.tar.xz
USB: ehci build fixes on au1xxx, ppc-soc
Cleanup: references to two PM routines (and HCD entry points) that no longer exist are swapped with their replacements. Evidently au1xxx and ppc-soc EHCI support doesn't get compiled with power management very much, or these build bugs would have been patched long ago. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-ppc-soc.c')
-rw-r--r--drivers/usb/host/ehci-ppc-soc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/host/ehci-ppc-soc.c b/drivers/usb/host/ehci-ppc-soc.c
index 4f99b0e..452d4b1 100644
--- a/drivers/usb/host/ehci-ppc-soc.c
+++ b/drivers/usb/host/ehci-ppc-soc.c
@@ -160,10 +160,8 @@ static const struct hc_driver ehci_ppc_soc_hc_driver = {
*/
.hub_status_data = ehci_hub_status_data,
.hub_control = ehci_hub_control,
-#ifdef CONFIG_PM
- .hub_suspend = ehci_hub_suspend,
- .hub_resume = ehci_hub_resume,
-#endif
+ .bus_suspend = ehci_bus_suspend,
+ .bus_resume = ehci_bus_resume,
};
static int ehci_hcd_ppc_soc_drv_probe(struct platform_device *pdev)