Skip to content

Commit

Permalink
fix(riscv64): compilation with virtio-mmio
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed May 15, 2024
1 parent 10682cf commit ef53d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/riscv64/kernel/devicetree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ pub fn init_drivers() {
if let Ok(VirtioDriver::Network(drv)) =
mmio_virtio::init_device(mmio, irq.try_into().unwrap())
{
mmio::register_driver(MmioDriver::VirtioNet(
register_driver(MmioDriver::VirtioNet(
hermit_sync::InterruptSpinMutex::new(drv),
))
}
Expand Down

0 comments on commit ef53d0b

Please sign in to comment.