diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2025-07-22 10:55:00 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-07-22 11:08:59 +0200 |
commit | 51a486feac0ca002bee6429f03da0a6c206d0dc5 (patch) | |
tree | 558b2ed01c10513f876754eb24a8d6d9cd012bd6 /rust/kernel | |
parent | 83fb6160727874a588d70b727bc34f367362e6ed (diff) |
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 <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20250722085500.1360401-2-ojeda@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/kernel')
-rw-r--r-- | rust/kernel/io/mem.rs | 8 |
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}; |