Commit 49ed70c7 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: fix ohci_restart warning

With 2.6.10 getting warning about ohci_restart() defined
and not used if !CONFIG_PM.
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 2d5e7603
...@@ -140,7 +140,6 @@ static const char hcd_name [] = "ohci_hcd"; ...@@ -140,7 +140,6 @@ static const char hcd_name [] = "ohci_hcd";
static void ohci_dump (struct ohci_hcd *ohci, int verbose); static void ohci_dump (struct ohci_hcd *ohci, int verbose);
static int ohci_init (struct ohci_hcd *ohci); static int ohci_init (struct ohci_hcd *ohci);
static int ohci_restart (struct ohci_hcd *ohci);
static void ohci_stop (struct usb_hcd *hcd); static void ohci_stop (struct usb_hcd *hcd);
#include "ohci-hub.c" #include "ohci-hub.c"
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
static void dl_done_list (struct ohci_hcd *, struct pt_regs *); static void dl_done_list (struct ohci_hcd *, struct pt_regs *);
static void finish_unlinks (struct ohci_hcd *, u16 , struct pt_regs *); static void finish_unlinks (struct ohci_hcd *, u16 , struct pt_regs *);
static int ohci_restart (struct ohci_hcd *ohci);
static int ohci_hub_suspend (struct usb_hcd *hcd) static int ohci_hub_suspend (struct usb_hcd *hcd)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment