Skip to content

Commit

Permalink
refactor(riscv64): collapse import
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Apr 30, 2024
1 parent 643d612 commit b33a78d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/arch/riscv64/kernel/devicetree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use crate::arch::riscv64::mm::{paging, PhysAddr};
#[cfg(feature = "gem-net")]
use crate::drivers::net::gem;
#[cfg(all(feature = "tcp", not(feature = "gem-net")))]
use crate::drivers::virtio::transport::mmio as mmio_virtio;
#[cfg(all(feature = "tcp", not(feature = "gem-net")))]
use crate::drivers::virtio::transport::mmio::{DevId, MmioRegisterLayout, VirtioDriver};
use crate::drivers::virtio::transport::mmio::{
self as mmio_virtio, DevId, MmioRegisterLayout, VirtioDriver,
};

static mut PLATFORM_MODEL: Model = Model::Unknown;

Expand Down

0 comments on commit b33a78d

Please sign in to comment.