From 5c030f77237f14a95b5d308192e149cef74e4b29 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lothar=20Wa=C3=9Fmann?= Date: Fri, 24 May 2013 14:21:57 +0200 Subject: [PATCH] 0009-ehci-arc-pm-bugfix =================================================================== --- drivers/usb/host/ehci-arc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c index dde47dd76e5f..4e3cd31b24d8 100755 --- a/drivers/usb/host/ehci-arc.c +++ b/drivers/usb/host/ehci-arc.c @@ -437,6 +437,7 @@ static int ehci_fsl_reinit(struct ehci_hcd *ehci) return 0; } +#ifdef CONFIG_PM static int ehci_fsl_bus_suspend(struct usb_hcd *hcd) { int ret = 0; @@ -511,6 +512,7 @@ static int ehci_fsl_bus_resume(struct usb_hcd *hcd) return ret; } +#endif static void ehci_fsl_shutdown(struct usb_hcd *hcd) { @@ -613,8 +615,10 @@ static const struct hc_driver ehci_fsl_hc_driver = { */ .hub_status_data = ehci_hub_status_data, .hub_control = ehci_hub_control, +#ifdef CONFIG_PM .bus_suspend = ehci_fsl_bus_suspend, .bus_resume = ehci_fsl_bus_resume, +#endif .relinquish_port = ehci_relinquish_port, .port_handed_over = ehci_port_handed_over, -- 2.39.5