I developed two simple modules to the kernel. Now i want to define a function in one module and after that use it in the other.
How i can do that?
Just define the function and caller in the other module without problems?
I developed two simple modules to the kernel. Now i want to define a function in one module and after that use it in the other.
How i can do that?
Just define the function and caller in the other module without problems?
Define it in
module1.c
:And use it in
module2.c
: