diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-26 14:43:33 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-27 14:21:48 -0400 |
commit | 8c2eedcea30eb62b655c0ace09b1ccad5b9ea628 (patch) | |
tree | b32715878d913d6de2da4c7b265c0fae6a21d13c /hw/pci-host | |
parent | c58a7deff8a973f5f7c1d4f9e6a125f6b4c3c4f8 (diff) | |
download | qemu-8c2eedcea30eb62b655c0ace09b1ccad5b9ea628.zip qemu-8c2eedcea30eb62b655c0ace09b1ccad5b9ea628.tar.gz qemu-8c2eedcea30eb62b655c0ace09b1ccad5b9ea628.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c index d710727..1a62b2f 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, |