summaryrefslogtreecommitdiff
path: root/rust/kernel/faux.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/faux.rs')
-rw-r--r--rust/kernel/faux.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/kernel/faux.rs b/rust/kernel/faux.rs
index 5acc0c02d451f..41751403cd868 100644
--- a/rust/kernel/faux.rs
+++ b/rust/kernel/faux.rs
@@ -19,7 +19,6 @@ use core::ptr::{addr_of_mut, null, null_mut, NonNull};
/// `self.0` always holds a valid pointer to an initialized and registered [`struct faux_device`].
///
/// [`struct faux_device`]: srctree/include/linux/device/faux.h
-#[repr(transparent)]
pub struct Registration(NonNull<bindings::faux_device>);
impl Registration {