diff options
| author | Danilo Krummrich <[email protected]> | 2025-04-13 17:37:00 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-04-17 13:21:47 +0000 |
| commit | 3edaefbf2b1beb9ae1cb2a842f455157b951e9f1 (patch) | |
| tree | 712d537e3c2afe632dd43c30b4dfdf7454922050 /rust/helpers/helpers.c | |
| parent | rust: platform: preserve device context in AsRef (diff) | |
| download | kernel-3edaefbf2b1beb9ae1cb2a842f455157b951e9f1.tar.gz kernel-3edaefbf2b1beb9ae1cb2a842f455157b951e9f1.zip | |
rust: pci: preserve device context in AsRef
Since device::Device has a generic over its context, preserve this
device context in AsRef.
For instance, when calling pci::Device<Core> the new AsRef implementation
returns device::Device<Core>.
Reviewed-by: Benno Lossin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
