summaryrefslogtreecommitdiff
path: root/rust/kernel/mm/virt.rs
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-09-16 13:52:09 +0100
committerMark Brown <broonie@kernel.org>2025-09-16 13:52:09 +0100
commit41b5c85ba94057c955f0f6348c551093917da06d (patch)
tree3e97b9272a0de53cf2c590cdc0f72c76ddfc8c5c /rust/kernel/mm/virt.rs
parent2e0fd4583d0efcdc260e61a22666c8368f505353 (diff)
parent6a1f303cba45fa3b612d5a2898b1b1b045eb74e3 (diff)
regulator: max77838: add max77838 regulator driver
Merge series from Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>: This patchset adds support for the max77838 PMIC. It's used on the Galaxy S7 lineup of phones, and provides regulators for the display.
Diffstat (limited to 'rust/kernel/mm/virt.rs')
-rw-r--r--rust/kernel/mm/virt.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/mm/virt.rs b/rust/kernel/mm/virt.rs
index 6086ca981b06..a1bfa4e19293 100644
--- a/rust/kernel/mm/virt.rs
+++ b/rust/kernel/mm/virt.rs
@@ -209,6 +209,7 @@ impl VmaMixedMap {
///
/// For the duration of 'a, the referenced vma must be undergoing initialization in an
/// `f_ops->mmap()` hook.
+#[repr(transparent)]
pub struct VmaNew {
vma: VmaRef,
}