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>
This commit is contained in:
Isaku Yamahata 2010-06-15 12:48:36 +09:00 committed by Michael S. Tsirkin
parent 9dd749aace
commit f2b07c92a4
2 changed files with 1 additions and 2 deletions

View 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;

View File

@ -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 */