summaryrefslogtreecommitdiff
path: root/hw/pci-hotplug.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-06-15 12:48:36 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-07-11 23:14:57 +0300
commitf2b07c92a457be0cdd2ec5d848cded2505b9c350 (patch)
treedf7cd723ae4c46a2bfa6d7eb86bdd34ae2868af8 /hw/pci-hotplug.c
parent9dd749aace247d7ac669ce23d038b912a1f85112 (diff)
downloadqemu-f2b07c92a457be0cdd2ec5d848cded2505b9c350.tar.gz
qemu-f2b07c92a457be0cdd2ec5d848cded2505b9c350.tar.bz2
qemu-f2b07c92a457be0cdd2ec5d848cded2505b9c350.zip
pci hotplug: make pci_device_hot_remove() static
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-hotplug.c')
-rw-r--r--hw/pci-hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c
index fe468d646e..c38f47fbf1 100644
--- a/hw/pci-hotplug.c
+++ b/hw/pci-hotplug.c
@@ -265,7 +265,7 @@ void pci_device_hot_add(Monitor *mon, const QDict *qdict)
}
#endif
-int pci_device_hot_remove(Monitor *mon, const char *pci_addr)
+static int pci_device_hot_remove(Monitor *mon, const char *pci_addr)
{
PCIDevice *d;
int dom, bus;