diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-09-25 03:53:53 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:53 -0500 |
commit | 499cf1027f9387081f73767c7872c9123896817c (patch) | |
tree | 53980e03c5f0c76f267bdbb95ddccb596996ff22 /hw/ide | |
parent | 3312958dba81a8aa748f7dc5bfd360f5c9e8ea13 (diff) |
Rename pci_create_noinit() to pci_create()
It's qdev_create() specialized for PCI, so name it accordingly.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide')
-rw-r--r-- | hw/ide/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/pci.c b/hw/ide/pci.c index bddf54194e..6d090bccaf 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -443,7 +443,7 @@ void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table, { PCIDevice *dev; - dev = pci_create_noinit(bus, -1, "CMD646 IDE"); + dev = pci_create(bus, -1, "CMD646 IDE"); qdev_prop_set_uint32(&dev->qdev, "secondary", secondary_ide_enabled); qdev_init(&dev->qdev); |