summaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-09-25 03:53:53 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:53 -0500
commit0faa776ead1a5039027c5d1416a86c3358213d16 (patch)
tree53980e03c5f0c76f267bdbb95ddccb596996ff22 /hw/pci.h
parent09d9e35a59743b333f5caf1ac90654c80f8a514b (diff)
downloadqemu-0faa776ead1a5039027c5d1416a86c3358213d16.tar.gz
qemu-0faa776ead1a5039027c5d1416a86c3358213d16.tar.bz2
qemu-0faa776ead1a5039027c5d1416a86c3358213d16.zip
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/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 8138e74611..b867e21118 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -339,7 +339,7 @@ typedef struct {
void pci_qdev_register(PCIDeviceInfo *info);
void pci_qdev_register_many(PCIDeviceInfo *info);
-PCIDevice *pci_create_noinit(PCIBus *bus, int devfn, const char *name);
+PCIDevice *pci_create(PCIBus *bus, int devfn, const char *name);
PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name);
/* lsi53c895a.c */