diff options
| author | Danilo Krummrich <[email protected]> | 2025-03-14 16:09:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-03-17 07:04:25 +0000 |
| commit | 4d032779ab321baa1a430ff27791e5e0c98a0c2f (patch) | |
| tree | d5746cee270a6caef6ad3e2d4de4cdc6752a20fb /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | rust: pci: use to_result() in enable_device_mem() (diff) | |
| download | kernel-4d032779ab321baa1a430ff27791e5e0c98a0c2f.tar.gz kernel-4d032779ab321baa1a430ff27791e5e0c98a0c2f.zip | |
rust: device: implement device context marker
Some bus device functions should only be called from bus callbacks,
such as probe(), remove(), resume(), suspend(), etc.
To ensure this add device context marker structs, that can be used as
generics for bus device implementations.
Reviewed-by: Benno Lossin <[email protected]>
Suggested-by: Benno Lossin <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
