How can I make a linux module load another module?
I have the task to program one m开发者_如何学Codule to store some data and another module to control the first one, been able to load/unload it from the code.
I'm and kernel programming ignorant but i've tried hard to find the way to do this. Is there any function to do this?
Thank you very much in advance
Use request_module to load a module
You usually wouldn't make one module load another, instead using the kernel's dependency system to load your prerequisites on demand. otherwise use request_module
as suggested by Matias Valdenegro.
精彩评论