aboutsummaryrefslogtreecommitdiff
path: root/rust/hw/timer/hpet/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/hw/timer/hpet/src/lib.rs')
-rw-r--r--rust/hw/timer/hpet/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/rust/hw/timer/hpet/src/lib.rs b/rust/hw/timer/hpet/src/lib.rs
index 5e7c961..1954584 100644
--- a/rust/hw/timer/hpet/src/lib.rs
+++ b/rust/hw/timer/hpet/src/lib.rs
@@ -7,9 +7,7 @@
//! This library implements a device model for the IA-PC HPET (High
//! Precision Event Timers) device in QEMU.
-use qemu_api::c_str;
-
pub mod fw_cfg;
pub mod hpet;
-pub const TYPE_HPET: &::std::ffi::CStr = c_str!("hpet");
+pub const TYPE_HPET: &::std::ffi::CStr = c"hpet";