]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: pci: re-export ConfigSpace
authorZijing Zhang <zijing.zhang@ry.rs>
Sat, 31 Jan 2026 16:42:17 +0000 (16:42 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Sun, 1 Feb 2026 21:18:24 +0000 (22:18 +0100)
commit72bfbe50ffbf36937c77b39e19143aabdb69b080
tree8e2233cdef4c91526164ec73620a14f63ed41926
parentc71257394bc9c59ea727803f6e55e83fe63db74e
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>
rust/kernel/pci.rs