Re: [PATCH v5 1/5] rust: module: add type `LocalModule`
From: Miguel Ojeda
Date: Wed Mar 05 2025 - 16:07:42 EST
On Tue, Mar 4, 2025 at 6:36 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> The `LocalModule` type is the type of the module created by `module!`,
> `module_pci_driver!`, `module_platform_driver!`, etc.
>
> Since the exact type of the module is sometimes generated on the fly by
> the listed macros, provide an alias.
>
> This is first used by the `module_firmware!` macro introduced in a
> subsequent patch.
>
> Suggested-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Cheers,
Miguel