Re: [char-misc-next 07/11] mei: bus: Implement bus driver datasetter/getter

From: Samuel Ortiz
Date: Thu Feb 07 2013 - 17:58:20 EST


On Thu, Feb 07, 2013 at 10:38:44PM +0000, Arnd Bergmann wrote:
> On Thursday 07 February 2013, Tomas Winkler wrote:
> >
> > +inline void *mei_bus_get_clientdata(const struct mei_bus_client *client)
> > +{
> > + return dev_get_drvdata(&client->dev);
> > +}
> > +EXPORT_SYMBOL(mei_bus_get_clientdata);
> > +
>
> Did you really mean to export an inline function?
>
> Can you make this a static inline function in a header file instead?
Sure, will do.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/