API between modules

Prathu Baronia quic_pbaronia at quicinc.com
Fri May 19 02:30:29 EDT 2023


On Thu, May 18, 2023 at 08:16:18AM +0100, Lucas Tanure wrote:
> Are there other ways for a module to wait for another module to load
> and use its API?
> Is there a default way to do that?
Hi Lucas,
IIUC you can use MODULE_SOFTDEP macro to establish loading dependencies.
This stack overflow explains it:-
https://stackoverflow.com/questions/29717761/how-do-i-define-dependency-among-kernel-modules

Prathu



More information about the Kernelnewbies mailing list