Follow a similar convention as pl011. Reviewed-by: Zhao Liu <zhao1....@intel.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- rust/hw/timer/hpet/src/{hpet.rs => device.rs} | 0 rust/hw/timer/hpet/src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename rust/hw/timer/hpet/src/{hpet.rs => device.rs} (100%)
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"; -- 2.49.0