[PATCH V1 1/2] rust/drm: import ARef from sync crate

From: Mukesh Kumar Chaurasiya (IBM)

Date: Sun Apr 26 2026 - 04:23:27 EST


ARef is defined in sync and is getting used from types causing the
build to fail.

Fix this by using ARef from sync crate.

Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@xxxxxxxxx>
---
rust/kernel/drm/gem/shmem.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/drm/gem/shmem.rs b/rust/kernel/drm/gem/shmem.rs
index d025fb035195..50aa57bf78ca 100644
--- a/rust/kernel/drm/gem/shmem.rs
+++ b/rust/kernel/drm/gem/shmem.rs
@@ -19,8 +19,8 @@
},
error::to_result,
prelude::*,
+ sync::aref::ARef,
types::{
- ARef,
Opaque, //
}, //
};
--
2.53.0