diff options
| author | Isaku Yamahata | 2010-06-15 05:48:36 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2010-07-11 22:14:57 +0200 |
| commit | f2b07c92a457be0cdd2ec5d848cded2505b9c350 (patch) | |
| tree | df7cd723ae4c46a2bfa6d7eb86bdd34ae2868af8 | |
| parent | pcnet: address TODOs (diff) | |
| download | qemu-f2b07c92a457be0cdd2ec5d848cded2505b9c350.tar.gz qemu-f2b07c92a457be0cdd2ec5d848cded2505b9c350.tar.xz 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>
| -rw-r--r-- | hw/pci-hotplug.c | 2 | ||||
| -rw-r--r-- | sysemu.h | 1 |
2 files changed, 1 insertions, 2 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; @@ -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 */ |
