aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi.h')
-rw-r--r--hw/ssi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ssi.h b/hw/ssi.h
index aab740fc56..861c4849e7 100644
--- a/hw/ssi.h
+++ b/hw/ssi.h
@@ -17,6 +17,7 @@ typedef struct SSISlave SSISlave;
/* Slave devices. */
typedef struct {
+ DeviceInfo qdev;
void (*init)(SSISlave *dev);
uint32_t (*transfer)(SSISlave *dev, uint32_t val);
} SSISlaveInfo;
@@ -34,7 +35,7 @@ void ssi_register_slave(const char *name, int size, SSISlaveInfo *info);
DeviceState *ssi_create_slave(SSIBus *bus, const char *name);
/* Master interface. */
-SSIBus *ssi_create_bus(void);
+SSIBus *ssi_create_bus(DeviceState *parent, const char *name);
uint32_t ssi_transfer(SSIBus *bus, uint32_t val);