summaryrefslogtreecommitdiff
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@kernel.org>2025-09-24 14:39:27 +0200
committerDaniel Gomez <da.gomez@kernel.org>2025-11-03 14:41:29 +0100
commit3809d7a89fe550bf4065c04adff6dac610daddad (patch)
treedb4a62937a6d4e65d22dd2a31519e72dbb79a07e /rust/helpers/pci.c
parent0b08fc292842a13aa496413b48c1efb83573b8c6 (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