the use case of MODULE_SOFTDEP

Tomek The Messenger tomekthemessenger at gmail.com
Sun Mar 22 12:17:21 EDT 2020


What is the use case of using:
MODULE_SOFTDEP("pre: another-external-kernel-module...");
because I completely don't understand.
If I have phandle to another-external-kernel-module in dts which is
mandatory in my kernel driver then should I put this line in my kernel
driver code?
If I use function of core.c which is my framework and this is also as
external module then should I  put this line in my kernel driver code:
  MODULE_SOFTDEP("pre: testframework-core");

Who knows please respond as this is black magic for me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200322/dc3dd96e/attachment.html>


More information about the Kernelnewbies mailing list