Re: [GIT PATCH] More USB patches for 2.6.18

From: Andrew Morton
Date: Thu Sep 28 2006 - 20:12:51 EST


On Thu, 28 Sep 2006 17:05:24 -0700
Greg KH <gregkh@xxxxxxx> wrote:

> >
> > +#ifdef CONFIG_PM
> > +static int ohci_restart(struct ohci_hcd *ohci);
> > +#endif
>
> That #ifdef shouldn't be even needed.

We'll get "warning: 'ohci_restart' declared 'static' but never defined"
without it.
-
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/