diff options
author | Shankari Anand <shankari.ak0208@gmail.com> | 2025-08-14 16:11:33 +0530 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-08-15 22:53:05 +0200 |
commit | 7e25d84f460c59322bf01dfeb1fb4745b488f714 (patch) | |
tree | 4e05388f63127dddc20c957ab5a3da8b3c4392c3 /rust/kernel/dma.rs | |
parent | bb9749f32ad38cf343e6650a34125be6aacd65d1 (diff) |
rust: dma: Update ARef and AlwaysRefCounted imports from sync::aref
Update call sites in the dma subsystem to import `ARef` and
`AlwaysRefCounted` from `sync::aref` instead of `types`.
This aligns with the ongoing effort to move `ARef` and
`AlwaysRefCounted` to sync.
Suggested-by: Benno Lossin <lossin@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1173
Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Link: https://lore.kernel.org/r/20250814104133.350093-1-shankari.ak0208@gmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/dma.rs')
-rw-r--r-- | rust/kernel/dma.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/dma.rs b/rust/kernel/dma.rs index 2bc8ab51ec28..68fe67624424 100644 --- a/rust/kernel/dma.rs +++ b/rust/kernel/dma.rs @@ -9,8 +9,8 @@ use crate::{ device::{Bound, Core}, error::{to_result, Result}, prelude::*, + sync::aref::ARef, transmute::{AsBytes, FromBytes}, - types::ARef, }; /// Trait to be implemented by DMA capable bus devices. |