提交 b24896c6 编写于 作者: D David Brownell 提交者: Greg Kroah-Hartman

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: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 4f45426c
...@@ -220,10 +220,8 @@ static const struct hc_driver ehci_au1xxx_hc_driver = { ...@@ -220,10 +220,8 @@ static const struct hc_driver ehci_au1xxx_hc_driver = {
*/ */
.hub_status_data = ehci_hub_status_data, .hub_status_data = ehci_hub_status_data,
.hub_control = ehci_hub_control, .hub_control = ehci_hub_control,
#ifdef CONFIG_PM .bus_suspend = ehci_bus_suspend,
.hub_suspend = ehci_hub_suspend, .bus_resume = ehci_bus_resume,
.hub_resume = ehci_hub_resume,
#endif
}; };
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
......
...@@ -160,10 +160,8 @@ static const struct hc_driver ehci_ppc_soc_hc_driver = { ...@@ -160,10 +160,8 @@ static const struct hc_driver ehci_ppc_soc_hc_driver = {
*/ */
.hub_status_data = ehci_hub_status_data, .hub_status_data = ehci_hub_status_data,
.hub_control = ehci_hub_control, .hub_control = ehci_hub_control,
#ifdef CONFIG_PM .bus_suspend = ehci_bus_suspend,
.hub_suspend = ehci_hub_suspend, .bus_resume = ehci_bus_resume,
.hub_resume = ehci_hub_resume,
#endif
}; };
static int ehci_hcd_ppc_soc_drv_probe(struct platform_device *pdev) static int ehci_hcd_ppc_soc_drv_probe(struct platform_device *pdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册