mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
hw/scsi: 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-7-zhao1.liu@intel.com
This commit is contained in:
parent
da2608b7b6
commit
dbeafa453b
2 changed files with 2 additions and 2 deletions
|
@ -1450,7 +1450,7 @@ static const TypeInfo mptsas_info = {
|
|||
|
||||
static void mptsas_register_types(void)
|
||||
{
|
||||
type_register(&mptsas_info);
|
||||
type_register_static(&mptsas_info);
|
||||
}
|
||||
|
||||
type_init(mptsas_register_types)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue