diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-13 17:29:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-13 21:18:30 -0400 |
commit | 4735b37cf434175c2b7b36b3b68f1e60e8ec8527 (patch) | |
tree | 302ae547b18fe3730af99612b13f902e73f757be /drivers/usb | |
parent | d773b33972a663cfaf066e966f87922a74088a1e (diff) |
Fix ohci-ssb with !CONFIG_PM
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ohci-ssb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-ssb.c b/drivers/usb/host/ohci-ssb.c index bc3e785d8c00..fe70e72340de 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 = { | |||
117 | .hub_status_data = ohci_hub_status_data, | 117 | .hub_status_data = ohci_hub_status_data, |
118 | .hub_control = ohci_hub_control, | 118 | .hub_control = ohci_hub_control, |
119 | .hub_irq_enable = ohci_rhsc_enable, | 119 | .hub_irq_enable = ohci_rhsc_enable, |
120 | #ifdef CONFIG_PM | ||
120 | .bus_suspend = ohci_bus_suspend, | 121 | .bus_suspend = ohci_bus_suspend, |
121 | .bus_resume = ohci_bus_resume, | 122 | .bus_resume = ohci_bus_resume, |
123 | #endif | ||
122 | 124 | ||
123 | .start_port_reset = ohci_start_port_reset, | 125 | .start_port_reset = ohci_start_port_reset, |
124 | }; | 126 | }; |