summaryrefslogtreecommitdiff
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 6a0c3c3cd..4a0a53903 100644
--- a/include/hw/ssi/ssi.h
+++ b/include/hw/ssi/ssi.h
@@ -37,7 +37,7 @@ enum SSICSMode {
struct SSISlaveClass {
DeviceClass parent_class;
- void (*realize)(SSISlave *dev, Error **errp);
+ int (*init)(SSISlave *dev);
/* if you have standard or no CS behaviour, just override transfer.
* This is called when the device cs is active (true by default).