diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2026-03-26 15:25:37 +0000 |
|---|---|---|
| committer | Alice Ryhl <aliceryhl@google.com> | 2026-03-26 15:45:49 +0000 |
| commit | bdf6b22fd52954f5ac88689eeaf960ac9687b78c (patch) | |
| tree | 63a11b864f0fa079dcba1bd64a27116838fc86b8 /rust/kernel | |
| parent | d4cf576672fbfee061d6f4f70c74b3b3d163447c (diff) | |
rust: drm: use new sync::aref path for imports
ARef and AlwaysRefCounted are being moved to sync::aref, and the
re-exports under types are planned to be removed. Thus, update imports
to the new path.
Acked-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260326-drm-rust-next-fix-aref-v1-2-7f6f58d2828a@google.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Diffstat (limited to 'rust/kernel')
| -rw-r--r-- | rust/kernel/drm/gem/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/drm/gem/mod.rs b/rust/kernel/drm/gem/mod.rs index ed974bfdc861..6cc441ee5b63 100644 --- a/rust/kernel/drm/gem/mod.rs +++ b/rust/kernel/drm/gem/mod.rs @@ -39,7 +39,7 @@ macro_rules! impl_aref_for_gem_obj { )? ) => { // SAFETY: All GEM objects are refcounted. - unsafe impl $( <$( $tparam_id ),+> )? $crate::types::AlwaysRefCounted for $type + unsafe impl $( <$( $tparam_id ),+> )? $crate::sync::aref::AlwaysRefCounted for $type where Self: IntoGEMObject, $( $( $bind_param : $bind_trait ),+ )? |
