Re: [PATCH,RFC] pci: do not mark exported functions as __devinit

From: Greg KH
Date: Fri Mar 02 2007 - 18:35:40 EST


On Sat, Mar 03, 2007 at 12:02:14AM +0100, Sam Ravnborg wrote:
> >
> > Yes, we allow them to be exported globally, as other init code might
> > need to call them, like these functions.
> >
> > So yes, I think we need to find a way to fix the warning tools, as the
> > code is correct here.
>
> This was the patch that I made to ignore these.
> It is on top of other pending changes to modpost so it will not
> apply.
> I had to check for _ksymtab* because we have various
> section names for ksymtab. (_gpl, _future etc.)

Looks good to me. Thanks for fixing all of these warnings.

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/