diff options
| author | Zijing Zhang <zijing.zhang@ry.rs> | 2026-01-31 16:42:17 +0000 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-02-01 22:18:24 +0100 |
| commit | 72bfbe50ffbf36937c77b39e19143aabdb69b080 (patch) | |
| tree | 8e2233cdef4c91526164ec73620a14f63ed41926 | |
| parent | c71257394bc9c59ea727803f6e55e83fe63db74e (diff) | |
rust: pci: re-export ConfigSpace
Re-export ConfigSpace, such that users can refer to the type as
kernel::pci::ConfigSpace, rather than kernel::pci::io::ConfigSpace.
Fixes: 4dc0bacb1d3c ("rust: pci: add config space read/write support")
Reported-by: Gary Guo <gary@garyguo.net>
Closes: https://lore.kernel.org/rust-for-linux/DG2D5ONS18FE.TC7K3O8V8SU1@garyguo.net/
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Zijing Zhang <zijing.zhang@ry.rs>
Link: https://patch.msgid.link/995384df9224283fab185b5e06f519506fff1873.1769877524.git.zijing.zhang@ry.rs
[ Slightly reworded commit message. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
| -rw-r--r-- | rust/kernel/pci.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs index f347c2f7c3a6..af74ddff6114 100644 --- a/rust/kernel/pci.rs +++ b/rust/kernel/pci.rs @@ -42,6 +42,7 @@ pub use self::id::{ }; pub use self::io::{ Bar, + ConfigSpace, ConfigSpaceKind, ConfigSpaceSize, Extended, |
