From ef53d0b20070542a36ba597073ffcc7dab85c664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Wed, 15 May 2024 18:21:02 +0200 Subject: [PATCH] fix(riscv64): compilation with virtio-mmio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/arch/riscv64/kernel/devicetree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/riscv64/kernel/devicetree.rs b/src/arch/riscv64/kernel/devicetree.rs index 5681c6e3c3..45380af9da 100644 --- a/src/arch/riscv64/kernel/devicetree.rs +++ b/src/arch/riscv64/kernel/devicetree.rs @@ -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), )) }