aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-virtio-bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/s390-virtio-bus.h')
-rw-r--r--hw/s390x/s390-virtio-bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio-bus.h b/hw/s390x/s390-virtio-bus.h
index 92aa9d0499..810a6ef1fc 100644
--- a/hw/s390x/s390-virtio-bus.h
+++ b/hw/s390x/s390-virtio-bus.h
@@ -83,7 +83,7 @@ typedef struct VirtIOS390Device VirtIOS390Device;
typedef struct VirtIOS390DeviceClass {
DeviceClass qdev;
- int (*init)(VirtIOS390Device *dev);
+ void (*realize)(VirtIOS390Device *dev, Error **errp);
} VirtIOS390DeviceClass;
struct VirtIOS390Device {