summary refs log tree commit diff stats
path: root/hw/sysbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sysbus.h')
-rw-r--r--hw/sysbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sysbus.h b/hw/sysbus.h
index d48ca8ca3d..1a8f289c75 100644
--- a/hw/sysbus.h
+++ b/hw/sysbus.h
@@ -25,7 +25,7 @@ struct SysBusDevice {
     } mmio[QDEV_MAX_MMIO];
 };
 
-typedef void (*sysbus_initfn)(SysBusDevice *dev);
+typedef int (*sysbus_initfn)(SysBusDevice *dev);
 
 /* Macros to compensate for lack of type inheritance in C.  */
 #define sysbus_from_qdev(dev) ((SysBusDevice *)(dev))