diff options
| author | Andreas Hindborg <a.hindborg@kernel.org> | 2025-09-24 14:39:27 +0200 |
|---|---|---|
| committer | Daniel Gomez <da.gomez@kernel.org> | 2025-11-03 14:41:29 +0100 |
| commit | 3809d7a89fe550bf4065c04adff6dac610daddad (patch) | |
| tree | db4a62937a6d4e65d22dd2a31519e72dbb79a07e /rust/helpers/pci.c | |
| parent | 0b08fc292842a13aa496413b48c1efb83573b8c6 (diff) | |
rust: module: use a reference in macros::module::module
When we add parameter support to the module macro, we want to be able to
pass a reference to `ModuleInfo` to a helper function. That is not possible
when we move out of the local `modinfo`. So change the function to access
the local via reference rather than value.
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Tested-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Daniel Gomez <da.gomez@kernel.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions
