Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4735b37cf434175c2b7b36b3b68f1e60e8ec8527 Commit: 4735b37cf434175c2b7b36b3b68f1e60e8ec8527 Parent: d773b33972a663cfaf066e966f87922a74088a1e Author: Al Viro <[EMAIL PROTECTED]> AuthorDate: Sat Oct 13 22:29:47 2007 +0100 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Sat Oct 13 18:18:30 2007 -0700
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 <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- 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 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, }; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html