[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to call function in one module frm another?
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<ole@xxxxxxxxxxxxx> wrote:
> 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<krisonearth@xxxxxxxxx>
>> 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 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 compile the whole kernel ?
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ