]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust/drm: import ARef from sync crate
authorMukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Sun, 26 Apr 2026 09:47:25 +0000 (15:17 +0530)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 27 Apr 2026 00:07:44 +0000 (02:07 +0200)
ARef is defined in sync and is getting used from types causing the
build to fail.

Fix this by using ARef from sync module.

Fixes: 80df573af9ef ("rust: drm: gem: shmem: Add DRM shmem helper abstraction")
Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Link: https://patch.msgid.link/20260426094725.2188668-2-mkchauras@gmail.com
[ Add missing Fixes: tag. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/drm/gem/shmem.rs

index d025fb0351954583d45805c0f14539a77eb46c91..e1b648920d2f67510da0f633ff160c628ab49e0e 100644 (file)
@@ -19,10 +19,8 @@ use crate::{
     },
     error::to_result,
     prelude::*,
-    types::{
-        ARef,
-        Opaque, //
-    }, //
+    sync::aref::ARef,
+    types::Opaque, //
 };
 use core::{
     ops::{