[PATCH 2/2] rust: io: fix broken intra-doc links to `platform::Device`
From: Miguel Ojeda
Date: Tue Jul 22 2025 - 04:55:58 EST
`platform` is not accessible from here.
Thus fix the intra-doc links by qualifying the paths a bit more.
Fixes: 1d0d4b28513b ("rust: io: mem: add a generic iomem abstraction")
Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
---
rust/kernel/io/mem.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rust/kernel/io/mem.rs b/rust/kernel/io/mem.rs
index cc9feb2897d8..6f99510bfc3a 100644
--- a/rust/kernel/io/mem.rs
+++ b/rust/kernel/io/mem.rs
@@ -40,8 +40,8 @@ pub(crate) unsafe fn new(device: &'a Device<Bound>, resource: &'a Resource) -> S
///
/// # Examples
///
- /// The following example uses a [`platform::Device`] for illustration
- /// purposes.
+ /// The following example uses a [`kernel::platform::Device`] for
+ /// illustration purposes.
///
/// ```no_run
/// use kernel::{bindings, c_str, platform, of, device::Core};
@@ -98,8 +98,8 @@ pub fn iomap_exclusive_sized<const SIZE: usize>(
///
/// # Examples
///
- /// The following example uses a [`platform::Device`] for illustration
- /// purposes.
+ /// The following example uses a [`kernel::platform::Device`] for
+ /// illustration purposes.
///
/// ```no_run
/// use kernel::{bindings, c_str, platform, of, device::Core};
--
2.50.1