Fixes: qemu/hw/device-assignment.c:494: warning: no previous prototype for ‘assigned_dev_update_irq’
Signed-off-by: Mark McLoughlin <[email protected]> --- qemu/hw/device-assignment.h | 1 + qemu/hw/pci.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/qemu/hw/device-assignment.h b/qemu/hw/device-assignment.h index a565948..8b3b105 100644 --- a/qemu/hw/device-assignment.h +++ b/qemu/hw/device-assignment.h @@ -99,6 +99,7 @@ PCIDevice *init_assigned_device(AssignedDevInfo *adev, PCIBus *bus); AssignedDevInfo *add_assigned_device(const char *arg); void add_assigned_devices(PCIBus *bus, const char **devices, int n_devices); ram_addr_t assigned_dev_load_option_roms(ram_addr_t rom_base_offset); +void assigned_dev_update_irq(PCIDevice *d); #define MAX_DEV_ASSIGN_CMDLINE 8 diff --git a/qemu/hw/pci.c b/qemu/hw/pci.c index ae5dd53..6004904 100644 --- a/qemu/hw/pci.c +++ b/qemu/hw/pci.c @@ -28,6 +28,7 @@ #include "virtio-net.h" #include "pc.h" #include "qemu-kvm.h" +#include "device-assignment.h" //#define DEBUG_PCI @@ -51,7 +52,6 @@ struct PCIBus { static void pci_update_mappings(PCIDevice *d); static void pci_set_irq(void *opaque, int irq_num, int level); -void assigned_dev_update_irq(PCIDevice *d); target_phys_addr_t pci_mem_base; static uint16_t pci_default_sub_vendor_id = PCI_SUBVENDOR_ID_REDHAT_QUMRANET; -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
