mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
qom: Make InterfaceInfo[] uses const
Mechanical change using: $ sed -i -E 's/\(InterfaceInfo.?\[/\(const InterfaceInfo\[/g' \ $(git grep -lE '\(InterfaceInfo.?\[\]\)') Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250424194905.82506-7-philmd@linaro.org>
This commit is contained in:
parent
231bf6dda1
commit
2cd09e47aa
230 changed files with 258 additions and 258 deletions
|
@ -268,7 +268,7 @@ static const TypeInfo diva_aux_info = {
|
|||
.instance_size = sizeof(DivaAuxState),
|
||||
.instance_init = diva_aux_init,
|
||||
.class_init = diva_aux_class_initfn,
|
||||
.interfaces = (InterfaceInfo[]) {
|
||||
.interfaces = (const InterfaceInfo[]) {
|
||||
{ INTERFACE_CONVENTIONAL_PCI_DEVICE },
|
||||
{ },
|
||||
},
|
||||
|
@ -282,7 +282,7 @@ static const TypeInfo diva_serial_pci_info = {
|
|||
.instance_size = sizeof(PCIDivaSerialState),
|
||||
.instance_init = diva_serial_init,
|
||||
.class_init = diva_serial_class_initfn,
|
||||
.interfaces = (InterfaceInfo[]) {
|
||||
.interfaces = (const InterfaceInfo[]) {
|
||||
{ INTERFACE_CONVENTIONAL_PCI_DEVICE },
|
||||
{ },
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue