mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/mips: 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-12-zhao1.liu@intel.com
This commit is contained in:
+1
-1
@@ -626,7 +626,7 @@ static void mips_register_cpudef_type(const struct mips_def_t *def)
|
||||
.class_data = (void *)def,
|
||||
};
|
||||
|
||||
type_register(&ti);
|
||||
type_register_static(&ti);
|
||||
g_free(typename);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user