diff options
| author | Danilo Krummrich <[email protected]> | 2025-04-13 17:37:01 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-04-17 13:21:48 +0000 |
| commit | f933b7489ffca25c9a33b65441679ee3d2943024 (patch) | |
| tree | 85e2b0a605d80971649e1b2a7f51ceb7f9ddaac0 /rust/helpers/pci.c | |
| parent | rust: pci: preserve device context in AsRef (diff) | |
| download | kernel-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/pci.c')
0 files changed, 0 insertions, 0 deletions
