summaryrefslogtreecommitdiff
path: root/hw/ssi.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi.h')
-rw-r--r--hw/ssi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi.h b/hw/ssi.h
index 6ff71e9d35..24610a80cb 100644
--- a/hw/ssi.h
+++ b/hw/ssi.h
@@ -18,7 +18,7 @@ typedef struct SSISlave SSISlave;
/* Slave devices. */
typedef struct {
DeviceInfo qdev;
- void (*init)(SSISlave *dev);
+ int (*init)(SSISlave *dev);
uint32_t (*transfer)(SSISlave *dev, uint32_t val);
} SSISlaveInfo;