[Intel-gfx] [PATCH] ohci-pm

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 10 12:27:10 CEST 2013


---
 drivers/usb/host/ohci.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index e2e5faa..90dc0ac 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -737,4 +737,7 @@ extern int	ohci_setup(struct usb_hcd *hcd);
 #ifdef CONFIG_PM
 extern int	ohci_suspend(struct usb_hcd *hcd, bool do_wakeup);
 extern int	ohci_resume(struct usb_hcd *hcd, bool hibernated);
+#else
+static inline int	ohci_suspend(struct usb_hcd *hcd, bool do_wakeup) {return 0;}
+static inline int	ohci_resume(struct usb_hcd *hcd, bool hibernated) {return 0;}
 #endif
-- 
1.8.4.rc3




More information about the Intel-gfx mailing list