From 336a25d644e15964cca68aec21a76dc09e855573 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 21 Nov 2022 15:52:54 -0700 Subject: [PATCH] ihda: fix compilation on i686 --- ihdad/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihdad/src/main.rs b/ihdad/src/main.rs index 9ef7efa711..cae3eeb330 100755 --- a/ihdad/src/main.rs +++ b/ihdad/src/main.rs @@ -134,7 +134,7 @@ fn get_int_method(pcid_handle: &mut PcidServerHandle) -> Option { //TODO: MSI on non-x86_64? #[cfg(not(target_arch = "x86_64"))] -fn get_int_method(pcid_handle: &mut PcidServerHandle, address: usize) -> Option { +fn get_int_method(pcid_handle: &mut PcidServerHandle) -> Option { let pci_config = pcid_handle.fetch_config().expect("ihdad: failed to fetch config"); let irq = pci_config.func.legacy_interrupt_line;