hw/rtc: Replace type_register() with type_register_static()
authorZhao Liu <zhao1.liu@intel.com>
Tue, 29 Oct 2024 08:59:23 +0000 (16:59 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Dec 2024 17:49:25 +0000 (18:49 +0100)
commitda2608b7b6370d49b15c348e2e66c54b0a9cc90f
tree9912d70a9ba5dd499c657dcc8c3159220da624d3
parent6e0a88837a74f6dc668c1838d2259a83deb7285b
hw/rtc: Replace type_register() with type_register_static()

Replace type_register() with type_register_static() because
type_register() will be deprecated.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20241029085934.2799066-6-zhao1.liu@intel.com
hw/rtc/m48t59-isa.c
hw/rtc/m48t59.c