aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-04-13 17:36:59 +0000
committerDanilo Krummrich <[email protected]>2025-04-17 13:21:45 +0000
commitda6c47c6cb45ffb392e016631c08098ad2a6d418 (patch)
tree1ce1f64af980ee29a0cceecbd5e84e639723e9a4 /rust/helpers/helpers.c
parentrust: device: implement device context for Device (diff)
downloadkernel-da6c47c6cb45ffb392e016631c08098ad2a6d418.tar.gz
kernel-da6c47c6cb45ffb392e016631c08098ad2a6d418.zip
rust: platform: preserve device context in AsRef
Since device::Device has a generic over its context, preserve this device context in AsRef. For instance, when calling platform::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