From a7cde24dc2f104c8e5861df0e2938e79264e9d58 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Thu, 14 May 2015 15:53:00 -0300 Subject: pc: Move commas inside PC_COMPAT_* macros 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/pc_q35.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hw/i386/pc_q35.c') diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 36b8834925..d0d70e8b90 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -470,7 +470,7 @@ static QEMUMachine pc_q35_machine_v2_0 = { .name = "pc-q35-2.0", .init = pc_q35_init_2_0, .compat_props = (GlobalProperty[]) { - PC_COMPAT_2_0, + PC_COMPAT_2_0 { /* end of list */ } }, }; @@ -482,7 +482,7 @@ static QEMUMachine pc_q35_machine_v1_7 = { .name = "pc-q35-1.7", .init = pc_q35_init_1_7, .compat_props = (GlobalProperty[]) { - PC_COMPAT_1_7, + PC_COMPAT_1_7 { /* end of list */ } }, }; @@ -494,7 +494,7 @@ static QEMUMachine pc_q35_machine_v1_6 = { .name = "pc-q35-1.6", .init = pc_q35_init_1_6, .compat_props = (GlobalProperty[]) { - PC_COMPAT_1_6, + PC_COMPAT_1_6 { /* end of list */ } }, }; @@ -504,7 +504,7 @@ static QEMUMachine pc_q35_machine_v1_5 = { .name = "pc-q35-1.5", .init = pc_q35_init_1_5, .compat_props = (GlobalProperty[]) { - PC_COMPAT_1_5, + PC_COMPAT_1_5 { /* end of list */ } }, }; @@ -518,7 +518,7 @@ static QEMUMachine pc_q35_machine_v1_4 = { .name = "pc-q35-1.4", .init = pc_q35_init_1_4, .compat_props = (GlobalProperty[]) { - PC_COMPAT_1_4, + PC_COMPAT_1_4 { /* end of list */ } }, }; -- cgit v1.2.3