OSDN Git Service

prep_pci: QOM'ify Raven PCI host bridge
authorAndreas Färber <afaerber@suse.de>
Mon, 20 Aug 2012 17:08:04 +0000 (19:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Aug 2012 15:47:17 +0000 (10:47 -0500)
commit03a6b667702b0af0e7b36754489aed6aa82d30a1
tree3fd1e9688274ff5185cd67ca0f06510aa2b432dc
parent9c1a61f0e583a0ae3f601465ffa22da5954c9bfc
prep_pci: QOM'ify Raven PCI host bridge

Introduce type constant and cast macro. Avoid accessing parent fields
directly.

Also add missing space and braces.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/prep_pci.c