aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-04-13 17:37:01 +0000
committerDanilo Krummrich <[email protected]>2025-04-17 13:21:48 +0000
commitf933b7489ffca25c9a33b65441679ee3d2943024 (patch)
tree85e2b0a605d80971649e1b2a7f51ceb7f9ddaac0 /rust/helpers/helpers.c
parentrust: pci: preserve device context in AsRef (diff)
downloadkernel-f933b7489ffca25c9a33b65441679ee3d2943024.tar.gz
kernel-f933b7489ffca25c9a33b65441679ee3d2943024.zip
rust: device: implement Bound device context
The Bound device context indicates that a device is bound to a driver. It must be used for APIs that require the device to be bound, such as Devres or dma::CoherentAllocation. Implement Bound and add the corresponding Deref hierarchy, as well as the corresponding ARef conversion for this device context. Reviewed-by: Benno Lossin <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Add missing `::` prefix in macros. - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions