diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-13 12:18:12 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-27 19:21:18 +0200 |
| commit | 734a1e9eeed2c791c8906d0ee08ad5c9b1f41fa0 (patch) | |
| tree | 5eca18ef616cb05e2559182cf3b3350008454ae3 /rust/hw/timer | |
| parent | aef5ac8624c7b826ae2adde48bc6997286ee1303 (diff) | |
| download | focaccia-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.rs | 2 |
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"; |