diff options
Diffstat (limited to 'system')
| -rw-r--r-- | system/qdev-monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/qdev-monitor.c b/system/qdev-monitor.c index 5c87fda509..a62ad23ecf 100644 --- a/system/qdev-monitor.c +++ b/system/qdev-monitor.c @@ -917,8 +917,8 @@ static DeviceState *find_device_state(const char *id, bool use_generic_error, void qdev_unplug(DeviceState *dev, Error **errp) { - HotplugHandler *hotplug_ctrl; - HotplugHandlerClass *hdc; + const HotplugHandler *hotplug_ctrl; + const HotplugHandlerClass *hdc; Error *local_err = NULL; if (!qdev_hotunplug_allowed(dev, errp)) { |
