diff options
| author | Zhao Liu <zhao1.liu@intel.com> | 2024-10-29 16:59:19 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-10 18:49:24 +0100 |
| commit | f34562766867efe94e451e9ec3a2f19a70841e16 (patch) | |
| tree | 1206544a93bbc7ef24c9ac178fa198c81d6bdf26 /hw/arm/armsse.c | |
| parent | feccfa77bed975e2e60c90756f08b8a56df6daf6 (diff) | |
| download | focaccia-qemu-f34562766867efe94e451e9ec3a2f19a70841e16.tar.gz focaccia-qemu-f34562766867efe94e451e9ec3a2f19a70841e16.zip | |
arm: 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-2-zhao1.liu@intel.com
Diffstat (limited to 'hw/arm/armsse.c')
| -rw-r--r-- | hw/arm/armsse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/armsse.c b/hw/arm/armsse.c index 255346a595..58ed504b2b 100644 --- a/hw/arm/armsse.c +++ b/hw/arm/armsse.c @@ -1731,7 +1731,7 @@ static void armsse_register_types(void) .class_init = armsse_class_init, .class_data = (void *)&armsse_variants[i], }; - type_register(&ti); + type_register_static(&ti); } } |