projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d773b33
)
Fix ohci-ssb with !CONFIG_PM
author
Al Viro
<viro@ftp.linux.org.uk>
Sat, 13 Oct 2007 21:29:47 +0000
(22:29 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 01:18:30 +0000
(18:18 -0700)
ohci_bus_{suspend,resume} exists only if we have CONFIG_PM; do the same
thing as other subdrivers...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/host/ohci-ssb.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ohci-ssb.c
b/drivers/usb/host/ohci-ssb.c
index bc3e785d8c00838f91cdfdcf73dc6d487540edf0..fe70e72340de4e0735d40f67279a5d4ebcb6ce08 100644
(file)
--- a/
drivers/usb/host/ohci-ssb.c
+++ b/
drivers/usb/host/ohci-ssb.c
@@
-117,8
+117,10
@@
static const struct hc_driver ssb_ohci_hc_driver = {
.hub_status_data = ohci_hub_status_data,
.hub_control = ohci_hub_control,
.hub_irq_enable = ohci_rhsc_enable,
+#ifdef CONFIG_PM
.bus_suspend = ohci_bus_suspend,
.bus_resume = ohci_bus_resume,
+#endif
.start_port_reset = ohci_start_port_reset,
};