summaryrefslogtreecommitdiff
path: root/rust/kernel/drm/gem/mod.rs
diff options
context:
space:
mode:
authorShankari Anand <shankari.ak0208@gmail.com>2025-08-15 21:47:06 +0530
committerDanilo Krummrich <dakr@kernel.org>2025-08-20 00:12:52 +0200
commitf1f2a22b8683d7ac38821d4508d4549a2f0c0a0a (patch)
tree6885e2646b6201b27f7c69530782b1ad6a13f520 /rust/kernel/drm/gem/mod.rs
parentc8cea4371e5eca30cda8660aabb337747dabc51d (diff)
rust: drm: update ARef and AlwaysRefCounted imports from sync::aref
Update call sites in drm 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> Reviewed-by: Benno Lossin <lossin@kernel.org> Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev> Link: https://lore.kernel.org/r/20250815161706.1324860-1-shankari.ak0208@gmail.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel/drm/gem/mod.rs')
-rw-r--r--rust/kernel/drm/gem/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/kernel/drm/gem/mod.rs b/rust/kernel/drm/gem/mod.rs
index b71821cfb5ea..a822aedee949 100644
--- a/rust/kernel/drm/gem/mod.rs
+++ b/rust/kernel/drm/gem/mod.rs
@@ -10,7 +10,8 @@ use crate::{
drm::driver::{AllocImpl, AllocOps},
error::{to_result, Result},
prelude::*,
- types::{ARef, AlwaysRefCounted, Opaque},
+ sync::aref::{ARef, AlwaysRefCounted},
+ types::Opaque,
};
use core::{mem, ops::Deref, ptr::NonNull};