summary refs log tree commit diff stats
path: root/rust/hw/timer/hpet/src/hpet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/hw/timer/hpet/src/hpet.rs')
-rw-r--r--rust/hw/timer/hpet/src/hpet.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/hw/timer/hpet/src/hpet.rs b/rust/hw/timer/hpet/src/hpet.rs
index 12de2ba59a..d4364f2f2f 100644
--- a/rust/hw/timer/hpet/src/hpet.rs
+++ b/rust/hw/timer/hpet/src/hpet.rs
@@ -3,8 +3,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
 use std::{
-    ffi::CStr,
-    os::raw::{c_int, c_void},
+    ffi::{c_int, c_void, CStr},
     pin::Pin,
     ptr::{addr_of_mut, null_mut, NonNull},
     slice::from_ref,