Skip to contentSkip to conversation

ohci-ssb with !CONFIG_PM

PATCH New Al Viro 1 participant 1 message Oct 13, 2007

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 ohci-ssb with !CONFIG_PM

	ohci_bus_{suspend,resume} exists only if we have CONFIG_PM;

do the same thing as other subdrivers...

---
b0b4f616f9ca381aa6a8559923137ce7cadc4108

drivers/usb/host/ohci-ssb.c +2 -0
index bc3e785..fe70e72 100644
@@ -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,
 };