summary refs log tree commit diff
path: root/src/wl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wl.rs')
-rw-r--r--src/wl.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wl.rs b/src/wl.rs
index 333be87..87dcec2 100644
--- a/src/wl.rs
+++ b/src/wl.rs
@@ -4,6 +4,7 @@ use devices::virtio::{
     BincodeRequest, BincodeResponse, InterruptProxy, InterruptProxyEvent, MsgOnSocketRequest,
     MsgOnSocketResponse, VirtioDevice, Wl,
 };
+use devices::MemoryParams;
 use msg_socket::MsgSocket;
 use poly_msg_socket::PolyMsgSocket;
 use std::collections::BTreeMap;
@@ -11,9 +12,9 @@ use std::fs::remove_file;
 use sys_util::{error, net::UnixSeqpacketListener, warn, GuestMemory};
 
 #[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
-pub use aarch64::{arch_memory_regions, MemoryParams};
+pub use aarch64::arch_memory_regions;
 #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
-pub use x86_64::{arch_memory_regions, MemoryParams};
+pub use x86_64::arch_memory_regions;
 
 type Socket =
     PolyMsgSocket<MsgOnSocketResponse, MsgOnSocketRequest, BincodeResponse, BincodeRequest>;