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
On Thu, May 18, 2023 at 08:16:18AM +0100, Lucas Tanure wrote:
> Hi,
>
> I have two kernel modules that need to talk over an API, and right
> now, they are statically linked together, but I am looking for a
> better way to separate them and share an API between them.
>
> A few years ago, I did
Hi,
I have two kernel modules that need to talk over an API, and right
now, they are statically linked together, but I am looking for a
better way to separate them and share an API between them.
A few years ago, I did the HDA component: