diff options
author | Mark Cave-Ayland | 2022-05-04 11:26:00 +0200 |
---|---|---|
committer | Mark Cave-Ayland | 2022-05-08 19:52:37 +0200 |
commit | 297d410387cb5a93bb32469aef34b02843d99b71 (patch) | |
tree | 9f6878e3b29a82fb4c8958337211c1029c816a6c /hw/hppa/machine.c | |
parent | hppa: fold machine_hppa_machine_init() into machine_hppa_machine_init_class_i... (diff) | |
download | qemu-297d410387cb5a93bb32469aef34b02843d99b71.tar.gz qemu-297d410387cb5a93bb32469aef34b02843d99b71.tar.xz qemu-297d410387cb5a93bb32469aef34b02843d99b71.zip |
hppa: simplify machine function names in machine.c
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20220504092600.10048-51-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/hppa/machine.c')
-rw-r--r-- | hw/hppa/machine.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index 724ee24795..ae0bc07e75 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -446,7 +446,7 @@ static void hppa_nmi(NMIState *n, int cpu_index, Error **errp) } } -static void machine_hppa_machine_init_class_init(ObjectClass *oc, void *data) +static void hppa_machine_init_class_init(ObjectClass *oc, void *data) { MachineClass *mc = MACHINE_CLASS(oc); NMIClass *nc = NMI_CLASS(oc); @@ -466,19 +466,19 @@ static void machine_hppa_machine_init_class_init(ObjectClass *oc, void *data) nc->nmi_monitor_handler = hppa_nmi; } -static const TypeInfo machine_hppa_machine_init_typeinfo = { +static const TypeInfo hppa_machine_init_typeinfo = { .name = MACHINE_TYPE_NAME("hppa"), .parent = TYPE_MACHINE, - .class_init = machine_hppa_machine_init_class_init, + .class_init = hppa_machine_init_class_init, .interfaces = (InterfaceInfo[]) { { TYPE_NMI }, { } }, }; -static void machine_hppa_machine_init_register_types(void) +static void hppa_machine_init_register_types(void) { - type_register_static(&machine_hppa_machine_init_typeinfo); + type_register_static(&hppa_machine_init_typeinfo); } -type_init(machine_hppa_machine_init_register_types) +type_init(hppa_machine_init_register_types) |