Messages in this thread | | | Date | Mon, 15 Aug 2011 09:58:22 +1000 | From | Stephen Rothwell <> | Subject | Re: [PATCH 1/3] drivers/staging/rtl8187se: Don't pass huge struct by value |
| |
Hi Jesper,
On Sun, 14 Aug 2011 20:32:49 +0200 (CEST) Jesper Juhl <jj@chaosbits.net> wrote: > > the "static inline" and defined in the header bits I didn't do because I > was afraid that that was not valid in combination with EXPORT_SYMBOL().
You don't need to/cannot EXPORT_SYMBOL() static inlines in header files. Any use in modules will pick up the static inline definition from the header file when they are built. Unless, of course, someone takes the addresses of these functions, then you should not inline them.
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |