vmbase: Re-expose fdtpci as vmbase::fdt::pci
All users of the crate are VM guest kernels, which are also using vmbase
so streamline the dependency graph by (for now) removing fdtpci from
their explicit dependencies and re-exposing its functionality as a
module of the vmbase crate.
Note: No functional change intended.
Test: TH
Change-Id: I384dab5267813936237626ee7286376ca7aa6ebd
diff --git a/libs/libvmbase/src/virtio/pci.rs b/libs/libvmbase/src/virtio/pci.rs
index 1d05c18..72e648b 100644
--- a/libs/libvmbase/src/virtio/pci.rs
+++ b/libs/libvmbase/src/virtio/pci.rs
@@ -14,11 +14,13 @@
//! Functions to scan the PCI bus for VirtIO devices.
-use crate::memory::{MemoryTracker, MemoryTrackerError};
+use crate::{
+ fdt::pci::PciInfo,
+ memory::{MemoryTracker, MemoryTrackerError},
+};
use alloc::boxed::Box;
use core::fmt;
use core::marker::PhantomData;
-use fdtpci::PciInfo;
use log::debug;
use once_cell::race::OnceBox;
use virtio_drivers::{