]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pxa2xx_timer.c
RTC: Remove the logic to update time format when DM bit changed
[mirror_qemu.git] / hw / pxa2xx_timer.c
index 90800751b10c293fedadd9c5bed5a9e47f69cecc..77b033b5412057f8d55be39850af113b10ef197c 100644 (file)
@@ -527,9 +527,10 @@ static TypeInfo pxa27x_timer_dev_info = {
     .class_init    = pxa27x_timer_dev_class_init,
 };
 
-static void pxa2xx_timer_register(void)
+static void pxa2xx_timer_register_types(void)
 {
     type_register_static(&pxa25x_timer_dev_info);
     type_register_static(&pxa27x_timer_dev_info);
-};
-device_init(pxa2xx_timer_register);
+}
+
+type_init(pxa2xx_timer_register_types)