* [PATCH] ohci-ssb with !CONFIG_PM
@ 2007-10-13 21:29 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-10-13 21:29 UTC (permalink / raw)
To: Linus Torvalds; +Cc: gregkh, mb, linux-kernel
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>
---
b0b4f616f9ca381aa6a8559923137ce7cadc4108
diff --git a/drivers/usb/host/ohci-ssb.c b/drivers/usb/host/ohci-ssb.c
index bc3e785..fe70e72 100644
--- 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,
};
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-13 21:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-13 21:29 [PATCH] ohci-ssb with !CONFIG_PM Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox