From: Paolo Bonzini Date: Tue, 13 May 2025 10:18:12 +0000 (+0200) Subject: rust: hpet: rename hpet module to "device" X-Git-Tag: v10.1.0-rc0~69^2~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=734a1e9eeed2c791c8906d0ee08ad5c9b1f41fa0;p=thirdparty%2Fqemu.git rust: hpet: rename hpet module to "device" Follow a similar convention as pl011. Reviewed-by: Zhao Liu Signed-off-by: Paolo Bonzini --- diff --git a/rust/hw/timer/hpet/src/hpet.rs b/rust/hw/timer/hpet/src/device.rs similarity index 100% rename from rust/hw/timer/hpet/src/hpet.rs rename to 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 141aae229d4..a95cf14ac98 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";