Modules inside modules
Hi,
This is my fist message here.
Please, help-me.
I need to work with two modules toghter. Is possible to include in the one driver one call to another driver?
It's work?
I do it. But, at compilling time, i have a lot of errors!
Thanks! And Sorry by my English!
Juan Carlos
(FAPESP - Brasil)
Quoted 2 lines
I need to work with two modules toghter. Is possible to include in the one driver one call to another driver?
Yes. A good example of this is to read ne.c and 8390.c. 8390.c is a driver for the chipset and ne.c is a driver for one of the boards using this chipset.
That driver shows how to use EXPORT_SYMBOL() as well as callbacks and module locking