Skip to content

Commit

Permalink
hppa: simplify machine function names in machine.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mcayland committed May 8, 2022
1 parent 42cc2bf commit 297d410
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hw/hppa/machine.c
Expand Up @@ -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);
Expand All @@ -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)

0 comments on commit 297d410

Please sign in to comment.