diff options
author | Andreas Färber <afaerber@suse.de> | 2012-08-20 19:08:09 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-22 10:47:17 -0500 |
commit | 67c332fd12326a6ef572f07b9d71370ada6a287f (patch) | |
tree | 7080117aafe4c4728d86c251a602615f8bc17b43 /hw/spapr_pci.h | |
parent | 8558d942b665a9ff0847851615e107308f6386a5 (diff) |
pci: Tidy up PCI host bridges
Adopt the QOM parent field name and enforce QOM-style access via casts.
Don't just typedef PCIHostState, either use it directly or embed it.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/spapr_pci.h')
-rw-r--r-- | hw/spapr_pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_pci.h b/hw/spapr_pci.h index 4140ee67af..670dc62a19 100644 --- a/hw/spapr_pci.h +++ b/hw/spapr_pci.h @@ -35,7 +35,7 @@ OBJECT_CHECK(sPAPRPHBState, (obj), TYPE_SPAPR_PCI_HOST_BRIDGE) typedef struct sPAPRPHBState { - PCIHostState host_state; + PCIHostState parent_obj; uint64_t buid; char *busname; |