Re: API between modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux