]> Git Repo - qemu.git/commitdiff
pci hotplug: make pci_device_hot_remove() static
authorIsaku Yamahata <[email protected]>
Tue, 15 Jun 2010 03:48:36 +0000 (12:48 +0900)
committerMichael S. Tsirkin <[email protected]>
Sun, 11 Jul 2010 20:14:57 +0000 (23:14 +0300)
Signed-off-by: Isaku Yamahata <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/pci-hotplug.c
sysemu.h

index fe468d646e8fe93dbc1dfe6986e43cceb10f1af5..c38f47fbf1db2bc896dfa8b1da0dac49fa8a998e 100644 (file)
@@ -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;
index c758243ca1b87dfc0b9579aa58a8770588ca5e3e..9c988bb2a3bcaed0a038c17043d7eb0a2bf0df5d 100644 (file)
--- a/sysemu.h
+++ b/sysemu.h
@@ -149,7 +149,6 @@ extern unsigned int nb_prom_envs;
 /* pci-hotplug */
 void pci_device_hot_add(Monitor *mon, const QDict *qdict);
 void drive_hot_add(Monitor *mon, const QDict *qdict);
-int pci_device_hot_remove(Monitor *mon, const char *pci_addr);
 void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict);
 
 /* serial ports */
This page took 0.029121 seconds and 4 git commands to generate.