summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorEduardo Habkost2020-09-03 00:42:28 +0200
committerEduardo Habkost2020-09-09 19:20:22 +0200
commitb327066931827c71feea1f7f39a7608a6072364e (patch)
treee40e9b3f4534a9aebd6a5de9fe347383516149aa /hw
parentvfio: Rename PCI_VFIO to VFIO_PCI (diff)
downloadqemu-b327066931827c71feea1f7f39a7608a6072364e.tar.gz
qemu-b327066931827c71feea1f7f39a7608a6072364e.tar.xz
qemu-b327066931827c71feea1f7f39a7608a6072364e.zip
pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org> Message-Id: <20200902224311.1321159-21-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/isa/pc87312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c
index 0cacbbc91b..8d7b8d3db2 100644
--- a/hw/isa/pc87312.c
+++ b/hw/isa/pc87312.c
@@ -371,7 +371,7 @@ static void pc87312_class_init(ObjectClass *klass, void *data)
}
static const TypeInfo pc87312_type_info = {
- .name = TYPE_PC87312_SUPERIO,
+ .name = TYPE_PC87312,
.parent = TYPE_ISA_SUPERIO,
.instance_size = sizeof(PC87312State),
.instance_init = pc87312_initfn,