From a744131663e21fcc3f49ca00a88a5d1c1b6d8ac3 Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Sun, 28 Apr 2019 17:28:17 +0800 Subject: [PATCH] Fix compilation error for thinpad Signed-off-by: Harry Chen --- kernel/src/drivers/bus/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/drivers/bus/mod.rs b/kernel/src/drivers/bus/mod.rs index cee2283..56ee0cb 100644 --- a/kernel/src/drivers/bus/mod.rs +++ b/kernel/src/drivers/bus/mod.rs @@ -1,3 +1,3 @@ -#[cfg(any(target_arch = "x86_64", target_arch = "mips"))] +#[cfg(any(target_arch = "x86_64", all(target_arch = "mips", feature = "board_malta")))] pub mod pci; pub mod virtio_mmio;