aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-08-26 14:43:33 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-08-27 14:21:48 -0400
commit8c2eedcea30eb62b655c0ace09b1ccad5b9ea628 (patch)
treeb32715878d913d6de2da4c7b265c0fae6a21d13c /hw/pci-host
parentc58a7deff8a973f5f7c1d4f9e6a125f6b4c3c4f8 (diff)
ppce500: Use TYPE_PPC_E500_PCI_BRIDGE constant
This will make future conversion to use OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Li Qiang <liq3ea@gmail.com> Message-Id: <20200826184334.4120620-8-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/pci-host')
-rw-r--r--hw/pci-host/ppce500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c
index d71072731d..1a62b2f8cc 100644
--- a/hw/pci-host/ppce500.c
+++ b/hw/pci-host/ppce500.c
@@ -509,7 +509,7 @@ static void e500_host_bridge_class_init(ObjectClass *klass, void *data)
}
static const TypeInfo e500_host_bridge_info = {
- .name = "e500-host-bridge",
+ .name = TYPE_PPC_E500_PCI_BRIDGE,
.parent = TYPE_PCI_DEVICE,
.instance_size = sizeof(PPCE500PCIBridgeState),
.class_init = e500_host_bridge_class_init,