]> Git Repo - qemu.git/blobdiff - hw/escc.c
qom: Unify type registration
[qemu.git] / hw / escc.c
index 9fe282f7b815d870054f2c6f54aff306d5be7423..4d8a8e88867e613f90cd03583104c44a76d7f2d0 100644 (file)
--- a/hw/escc.c
+++ b/hw/escc.c
@@ -931,9 +931,9 @@ static TypeInfo escc_info = {
     .class_init    = escc_class_init,
 };
 
-static void escc_register_devices(void)
+static void escc_register_types(void)
 {
     type_register_static(&escc_info);
 }
 
-device_init(escc_register_devices)
+type_init(escc_register_types)
This page took 0.028146 seconds and 4 git commands to generate.