views:

38

answers:

2

I have the task to program one module 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

+1  A: 

Use request_module.

Matias Valdenegro
Thank you very much, I'll try to make it work. Is there some equivalent to unload?
JuanMa Cuevas
A: 

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.

Hasturkun
I know, this is just a kernel programming assignment I have to do. Thank you anyway!
JuanMa Cuevas
Oh, i found it! release_module
JuanMa Cuevas