[PATCH revised 3/4] powerpc: Add EXPORT_SYMBOL_GPL for symbols required by fs_enet and cpm_uart

Vitaly Bordug vitb at kernel.crashing.org
Mon Nov 26 03:18:33 EST 2007


On Sun, 25 Nov 2007 09:38:57 -0600
Timur Tabi wrote:

> Jochen Friedrich wrote:
> > fs_enet and cpm_uart need symbols from commproc.c (for CPM1) or
> > cpm2_common.c. Add EXPORT_SYMBOL_GPL for cpmp, cpm_setbrg and
> > cpm2_immr, so the drivers can be compiled as modules.
As I told replying to prev mail, this needs to be addressed in respective driver(s), since
there is a way to retrieve such pointers without making them global.

This patch will exist in maillist as a workaround, but meanwhile I'll take a look at this problem.
> 
> Maybe this is a stupid question, but why did you choose
> EXPORT_SYMBOL_GPL and not EXPORT_SYMBOL?
> 
To prevent using those pointers from within non-GPL modules. kind of policy now...

-- 
Sincerely, Vitaly



More information about the Linuxppc-dev mailing list