mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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>
This commit is contained in:
parent
d4cf576672
commit
bdf6b22fd5
|
|
@ -39,7 +39,7 @@ impl $( <$( $tparam_id:ident ),+> )? for $type:ty
|
|||
)?
|
||||
) => {
|
||||
// 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 ),+ )?
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user