Skip to content

Commit 51a486f

Browse files
ojedaDanilo Krummrich
authored andcommitted
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: 1d0d4b2 ("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>
1 parent 83fb616 commit 51a486f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rust/kernel/io/mem.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ impl<'a> IoRequest<'a> {
4040
///
4141
/// # Examples
4242
///
43-
/// The following example uses a [`platform::Device`] for illustration
44-
/// purposes.
43+
/// The following example uses a [`kernel::platform::Device`] for
44+
/// illustration purposes.
4545
///
4646
/// ```no_run
4747
/// use kernel::{bindings, c_str, platform, of, device::Core};
@@ -98,8 +98,8 @@ impl<'a> IoRequest<'a> {
9898
///
9999
/// # Examples
100100
///
101-
/// The following example uses a [`platform::Device`] for illustration
102-
/// purposes.
101+
/// The following example uses a [`kernel::platform::Device`] for
102+
/// illustration purposes.
103103
///
104104
/// ```no_run
105105
/// use kernel::{bindings, c_str, platform, of, device::Core};

0 commit comments

Comments
 (0)