Re: [PATCH] USB: remove (unneeded proto) that causes a warning w/o CONFIG_PM

From: Greg KH
Date: Wed Oct 20 2004 - 19:07:51 EST


On Tue, Oct 19, 2004 at 07:38:03PM -0700, Chris Wedgwood wrote:
> remove (unneeded proto) that causes a warning w/o CONFIG_PM
>
> Signed-off-by: cw@xxxxxxxx
>
> diff -Nru a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
> --- a/drivers/usb/host/ohci-hcd.c 2004-10-19 17:48:05 -07:00
> +++ b/drivers/usb/host/ohci-hcd.c 2004-10-19 17:48:05 -07:00
> @@ -140,7 +140,6 @@
>
> static void ohci_dump (struct ohci_hcd *ohci, int verbose);
> static int ohci_init (struct ohci_hcd *ohci);
> -static int ohci_restart (struct ohci_hcd *ohci);
> static void ohci_stop (struct usb_hcd *hcd);
>
> #include "ohci-hub.c"

Wait, this patch causes problems if CONFIG_PM is enabled. Not applied.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/