summary refs log tree commit diff stats
path: root/include/hw/ssi/ssi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/ssi/ssi.h')
-rw-r--r--include/hw/ssi/ssi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ssi/ssi.h b/include/hw/ssi/ssi.h
index 4a0a53903c..6a0c3c3cdb 100644
--- a/include/hw/ssi/ssi.h
+++ b/include/hw/ssi/ssi.h
@@ -37,7 +37,7 @@ enum SSICSMode {
 struct SSISlaveClass {
     DeviceClass parent_class;
 
-    int (*init)(SSISlave *dev);
+    void (*realize)(SSISlave *dev, Error **errp);
 
     /* if you have standard or no CS behaviour, just override transfer.
      * This is called when the device cs is active (true by default).