Re: how to call function in one module frm another?

2009-06-15 Thread sanjeev sharma
Hi, You could use EXPORT_SYMBOL( ) for the function . more info you can get from LDD3(Linux Device Driver)book. Sanjeev sharma On Mon, Jun 15, 2009 at 10:59 PM, Ole Loots wrote: > Just to be complete: the compiler will complain about unresolved symbols if > you compile a module..., but the symbo

Re: how to call function in one module frm another?

2009-06-15 Thread Ole Loots
Just to be complete: the compiler will complain about unresolved symbols if you compile a module..., but the symbols will be resolved at runtime. SandeepKsinha schrieb: try EXPORT_SYMBOL( ) for the function you wish to use in any later module. On Mon, Jun 15, 2009 at 9:49 AM, krushnaal pai wr

Re: how to call function in one module frm another?

2009-06-14 Thread SandeepKsinha
try EXPORT_SYMBOL( ) for the function you wish to use in any later module. On Mon, Jun 15, 2009 at 9:49 AM, krushnaal pai wrote: > im new to linux > can sumone plzz tell me how to call a function defined in one module frm > another module? > > also i have made some changes in the kernel itself an

Re: Fwd: how to call function in one module frm another?

2009-06-14 Thread vibi sreenivasan
hi, On Sun, 2009-06-14 at 21:19 -0700, krushnaal pai wrote: > im new to linux > can sumone plzz tell me how to call a function defined in one module > frm another module? use EXPORT_SYMBOL macro in the module you define the function. regards vibi > > > also i have made some changes in the kerne

Fwd: how to call function in one module frm another?

2009-06-14 Thread krushnaal pai
im new to linux can sumone plzz tell me* how to call a function defined in one module frm another module?* *also i have made some changes in the kernel itself and from there i have made a call to the function defined in a new module,now everytime i make some changes to this new module do i have to