mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
hw: Move commas inside HW_COMPAT_2_1 macro
Changing the convention to include commas inside the macros will allow macros containing empty lists to be defined and used without compilation errors. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4974920ab8
commit
f27086a731
5 changed files with 5 additions and 5 deletions
|
@ -1861,7 +1861,7 @@ static void spapr_machine_2_1_class_init(ObjectClass *oc, void *data)
|
|||
{
|
||||
MachineClass *mc = MACHINE_CLASS(oc);
|
||||
static GlobalProperty compat_props[] = {
|
||||
HW_COMPAT_2_1,
|
||||
HW_COMPAT_2_1
|
||||
SPAPR_COMPAT_2_1,
|
||||
{ /* end of list */ }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue