summaryrefslogtreecommitdiff
path: root/hw/isa.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/isa.h')
-rw-r--r--hw/isa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa.h b/hw/isa.h
index 872e3ef011..d98acd5bc4 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -18,7 +18,7 @@ struct ISADevice {
int nirqs;
};
-typedef void (*isa_qdev_initfn)(ISADevice *dev);
+typedef int (*isa_qdev_initfn)(ISADevice *dev);
struct ISADeviceInfo {
DeviceInfo qdev;
isa_qdev_initfn init;