From 4240abff5a6fb5d88867b51f46c0235518dac564 Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Mon, 20 Aug 2012 19:07:56 +0200 Subject: pci: Make host bridge TypeInfos const During the QOM migration they were amended with further info but this is no longer the case. All static TypeInfos can be const these days. Signed-off-by: Andreas Färber Acked-by: Michael S. Tsirkin Signed-off-by: Anthony Liguori --- hw/spapr_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/spapr_pci.c') diff --git a/hw/spapr_pci.c b/hw/spapr_pci.c index b92583a991..c57ab1ee2b 100644 --- a/hw/spapr_pci.c +++ b/hw/spapr_pci.c @@ -612,7 +612,7 @@ static void spapr_phb_class_init(ObjectClass *klass, void *data) dc->props = spapr_phb_properties; } -static TypeInfo spapr_phb_info = { +static const TypeInfo spapr_phb_info = { .name = "spapr-pci-host-bridge", .parent = TYPE_SYS_BUS_DEVICE, .instance_size = sizeof(sPAPRPHBState), -- cgit v1.2.3-55-g7522