summaryrefslogtreecommitdiff
path: root/rust/kernel/drm/drv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/drm/drv.rs')
-rw-r--r--rust/kernel/drm/drv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/drm/drv.rs b/rust/kernel/drm/drv.rs
index 895409f04664..0cf3fb1cea53 100644
--- a/rust/kernel/drm/drv.rs
+++ b/rust/kernel/drm/drv.rs
@@ -118,7 +118,7 @@ pub struct AllocOps {
}
/// Trait for memory manager implementations. Implemented internally.
-pub trait AllocImpl: Sealed {
+pub trait AllocImpl: Sealed + drm::gem::IntoGEMObject {
/// The C callback operations for this memory manager.
const ALLOC_OPS: AllocOps;
}