summary refs log tree commit diff stats
path: root/rust/hw/timer
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-05-13 12:18:12 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-27 19:21:18 +0200
commit734a1e9eeed2c791c8906d0ee08ad5c9b1f41fa0 (patch)
tree5eca18ef616cb05e2559182cf3b3350008454ae3 /rust/hw/timer
parentaef5ac8624c7b826ae2adde48bc6997286ee1303 (diff)
downloadfocaccia-qemu-734a1e9eeed2c791c8906d0ee08ad5c9b1f41fa0.tar.gz
focaccia-qemu-734a1e9eeed2c791c8906d0ee08ad5c9b1f41fa0.zip
rust: hpet: rename hpet module to "device"
Follow a similar convention as pl011.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/timer')
-rw-r--r--rust/hw/timer/hpet/src/device.rs (renamed from rust/hw/timer/hpet/src/hpet.rs)0
-rw-r--r--rust/hw/timer/hpet/src/lib.rs2
2 files changed, 1 insertions, 1 deletions
diff --git a/rust/hw/timer/hpet/src/hpet.rs b/rust/hw/timer/hpet/src/device.rs
index e3ba62b287..e3ba62b287 100644
--- a/rust/hw/timer/hpet/src/hpet.rs
+++ b/rust/hw/timer/hpet/src/device.rs
diff --git a/rust/hw/timer/hpet/src/lib.rs b/rust/hw/timer/hpet/src/lib.rs
index 141aae229d..a95cf14ac9 100644
--- a/rust/hw/timer/hpet/src/lib.rs
+++ b/rust/hw/timer/hpet/src/lib.rs
@@ -7,7 +7,7 @@
 //! This library implements a device model for the IA-PC HPET (High
 //! Precision Event Timers) device in QEMU.
 
+pub mod device;
 pub mod fw_cfg;
-pub mod hpet;
 
 pub const TYPE_HPET: &::std::ffi::CStr = c"hpet";