]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - include/hw/qdev-core.h
qdev: Unrealize must not fail
[thirdparty/qemu.git] / include / hw / qdev-core.h
index 6f537f687feb512a67dc5fb04b0ae356da6915e4..b870b279661af20346c02662617dfb29bdc5403f 100644 (file)
@@ -30,10 +30,10 @@ typedef enum DeviceCategory {
 } DeviceCategory;
 
 typedef void (*DeviceRealize)(DeviceState *dev, Error **errp);
-typedef void (*DeviceUnrealize)(DeviceState *dev, Error **errp);
+typedef void (*DeviceUnrealize)(DeviceState *dev);
 typedef void (*DeviceReset)(DeviceState *dev);
 typedef void (*BusRealize)(BusState *bus, Error **errp);
-typedef void (*BusUnrealize)(BusState *bus, Error **errp);
+typedef void (*BusUnrealize)(BusState *bus);
 
 /**
  * DeviceClass: