[PATCH 1/2] rust: io: fix Bar reference in Io struct's comment
From: Marko Turk
Date: Sat Jan 03 2026 - 09:31:54 EST
Bar was moved to a separate pci::io module, update the reference to it.
Signed-off-by: Marko Turk <mt@xxxxxxxxxxxxxx>
---
rust/kernel/io.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/io.rs b/rust/kernel/io.rs
index 98e8b84e68d1..08853f32dae6 100644
--- a/rust/kernel/io.rs
+++ b/rust/kernel/io.rs
@@ -87,7 +87,7 @@ pub fn maxsize(&self) -> usize {
/// };
/// use core::ops::Deref;
///
-/// // See also [`pci::Bar`] for a real example.
+/// // See also [`pci::io::Bar`] for a real example.
/// struct IoMem<const SIZE: usize>(IoRaw<SIZE>);
///
/// impl<const SIZE: usize> IoMem<SIZE> {
--
2.51.0