mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
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: 1d0d4b2851 ("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>
This commit is contained in:
parent
83fb616072
commit
51a486feac
1 changed files with 4 additions and 4 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue