aboutsummaryrefslogtreecommitdiff
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-12-19 09:10:49 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-19 09:10:49 -0600
commit3cfdd0da7e513e740b759a2abec49db3c086d6e2 (patch)
treed4083407dc731897c33d06eafd578f1c79ec88e8 /hw/piix_pci.c
parentddf83d0173c6a64a95a6640e4bfcea4cd789cad2 (diff)
parent50ced5b3b108aba7f9b2c8e6f7de4e924f30f83b (diff)
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r--hw/piix_pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index d785d4ba07..ea156a9373 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -324,9 +324,8 @@ static PCIBus *i440fx_common_init(const char *device_name,
pci_create_simple_multifunction(b, -1, true, "PIIX3"));
pci_bus_irqs(b, piix3_set_irq, pci_slot_get_pirq, piix3,
PIIX_NUM_PIRQS);
-
- qdev_property_add_child(dev, "piix3", &piix3->dev.qdev, NULL);
}
+ qdev_property_add_child(dev, "piix3", &piix3->dev.qdev, NULL);
piix3->pic = pic;
(*pi440fx_state)->piix3 = piix3;