diff --git a/rust/kernel/sync.rs b/rust/kernel/sync.rs
index c983f63fd56e8cd00feca5d50c0bfb5b4c9bc369..0ab20975a3b5db4dcf913f4adaf6d3faca702dbf 100644
--- a/rust/kernel/sync.rs
+++ b/rust/kernel/sync.rs
@@ -37,6 +37,12 @@ pub(crate) fn as_ptr(&self) -> *mut bindings::lock_class_key {
     }
 }
 
+impl Default for LockClassKey {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 /// Defines a new static lock class and returns a pointer to it.
 #[doc(hidden)]
 #[macro_export]