projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] remove some USB_SUSPEND dependencies
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
host
/
ohci-hcd.c
diff --git
a/drivers/usb/host/ohci-hcd.c
b/drivers/usb/host/ohci-hcd.c
index f8da8c7af7c66b69ff8746b943f0266b1bc3b8ce..c26ab5f2a40304542a3036f6910de162940f644a 100644
(file)
--- a/
drivers/usb/host/ohci-hcd.c
+++ b/
drivers/usb/host/ohci-hcd.c
@@
-791,7
+791,7
@@
static void ohci_stop (struct usb_hcd *hcd)
/* must not be called from interrupt context */
-#if
defined(CONFIG_USB_SUSPEND) || defined(CONFIG_PM)
+#if
def CONFIG_PM
static int ohci_restart (struct ohci_hcd *ohci)
{