summary refs log tree commit diff stats
path: root/hw/core/qdev-hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/core/qdev-hotplug.c')
-rw-r--r--hw/core/qdev-hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/qdev-hotplug.c b/hw/core/qdev-hotplug.c
index d495d0e9c7..19fbb11a31 100644
--- a/hw/core/qdev-hotplug.c
+++ b/hw/core/qdev-hotplug.c
@@ -30,7 +30,7 @@ HotplugHandler *qdev_get_machine_hotplug_handler(DeviceState *dev)
     return NULL;
 }
 
-bool qdev_hotplug_allowed(DeviceState *dev, Error **errp)
+bool qdev_hotplug_allowed(DeviceState *dev, BusState *bus, Error **errp)
 {
     MachineState *machine;
     MachineClass *mc;