[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 50/53] hppa: simplify machine function names in machine.c
From: |
Mark Cave-Ayland |
Subject: |
[PULL 50/53] hppa: simplify machine function names in machine.c |
Date: |
Sun, 8 May 2022 20:56:47 +0100 |
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>
---
hw/hppa/machine.c | 12 ++++++------
1 file 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)
--
2.20.1
- [PULL 39/53] lasi: use constants for device register offsets, (continued)
- [PULL 39/53] lasi: use constants for device register offsets, Mark Cave-Ayland, 2022/05/08
- [PULL 40/53] lasi: use numerical constant for iar reset value, Mark Cave-Ayland, 2022/05/08
- [PULL 43/53] hppa: move hppa_pci_ignore_ops from pci.c to machine.c, Mark Cave-Ayland, 2022/05/08
- [PULL 44/53] hppa: remove hw/hppa/pci.c, Mark Cave-Ayland, 2022/05/08
- [PULL 45/53] hppa: remove unused trace-events from from hw/hppa, Mark Cave-Ayland, 2022/05/08
- [PULL 46/53] hppa: move enable_lan() define from hppa_sys.h to machine.c, Mark Cave-Ayland, 2022/05/08
- [PULL 47/53] hppa: remove the empty hppa_sys.h file, Mark Cave-Ayland, 2022/05/08
- [PULL 48/53] hppa: use MACHINE QOM macros for defining the hppa machine, Mark Cave-Ayland, 2022/05/08
- [PULL 49/53] hppa: fold machine_hppa_machine_init() into machine_hppa_machine_init_class_init(), Mark Cave-Ayland, 2022/05/08
- [PULL 51/53] artist: checkpatch and newline style fixes, Mark Cave-Ayland, 2022/05/08
- [PULL 50/53] hppa: simplify machine function names in machine.c,
Mark Cave-Ayland <=
- [PULL 53/53] artist: only render dirty scanlines on the display surface, Mark Cave-Ayland, 2022/05/08
- [PULL 52/53] artist: remove unused ROP8OFF() macro, Mark Cave-Ayland, 2022/05/08
- Re: [PULL 00/53] qemu-sparc queue 20220508, Richard Henderson, 2022/05/08