[PATCH v5 1/5] rust: module: add type `LocalModule`

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Wed Mar 5 21:07:18 UTC 2025


On Tue, Mar 4, 2025 at 6:36 PM Danilo Krummrich <dakr at kernel.org> 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 at google.com>
> Signed-off-by: Danilo Krummrich <dakr at kernel.org>

Acked-by: Miguel Ojeda <ojeda at kernel.org>

Cheers,
Miguel


More information about the dri-devel mailing list