aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2025-07-22 08:55:00 +0000
committerDanilo Krummrich <[email protected]>2025-07-22 09:08:59 +0000
commit51a486feac0ca002bee6429f03da0a6c206d0dc5 (patch)
tree558b2ed01c10513f876754eb24a8d6d9cd012bd6
parentrust: io: fix broken intra-doc link to missing `flags` module (diff)
downloadkernel-51a486feac0ca002bee6429f03da0a6c206d0dc5.tar.gz
kernel-51a486feac0ca002bee6429f03da0a6c206d0dc5.zip
rust: io: fix broken intra-doc links to `platform::Device`
`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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
-rw-r--r--rust/kernel/io/mem.rs8
1 files 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 @@ impl<'a> IoRequest<'a> {
///
/// # 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 @@ impl<'a> IoRequest<'a> {
///
/// # 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};