diff options
| author | Fiona Behrens <[email protected]> | 2025-02-17 20:58:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-02-22 14:44:19 +0000 |
| commit | 354fd6e86fac60b7c1ce2e6c83d4e6bf8af95f59 (patch) | |
| tree | 8b15a77bbdbfc38c98b1c37f62d8545fa4e921d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | kernfs: Move dput() outside of the RCU section. (diff) | |
| download | kernel-354fd6e86fac60b7c1ce2e6c83d4e6bf8af95f59.tar.gz kernel-354fd6e86fac60b7c1ce2e6c83d4e6bf8af95f59.zip | |
rust: io: rename `io::Io` accessors
Rename the I/O accessors provided by `Io` to encode the type as
number instead of letter. This is in preparation for Port I/O support
to use a trait for generic accessors.
Add a `c_fn` argument to the accessor generation macro to translate
between rust and C names.
Suggested-by: Danilo Krummrich <[email protected]>
Link: https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/PIO.20support/near/499460541
Signed-off-by: Fiona Behrens <[email protected]>
Acked-by: Danilo Krummrich <[email protected]>
Acked-by: Daniel Almeida <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[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_device.c')
0 files changed, 0 insertions, 0 deletions
