From: Isaku Yamahata Date: Tue, 15 Jun 2010 03:48:36 +0000 (+0900) Subject: pci hotplug: make pci_device_hot_remove() static X-Git-Tag: v0.13.0-rc0~67^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2b07c92a457be0cdd2ec5d848cded2505b9c350;p=thirdparty%2Fqemu.git pci hotplug: make pci_device_hot_remove() static Signed-off-by: Isaku Yamahata Acked-by: Gerd Hoffmann Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index fe468d646e8..c38f47fbf1d 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; diff --git a/sysemu.h b/sysemu.h index c758243ca1b..9c988bb2a3b 100644 --- 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 */