summaryrefslogtreecommitdiff
path: root/hw/ssi.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-06-10 09:41:42 +0200
committerPaul Brook <paul@codesourcery.com>2009-06-11 13:47:36 +0100
commit074f2fff798cb8f9588080b740dc356217a24720 (patch)
tree4a7267d64bbe8d679627699b6545c9fcd23bb270 /hw/ssi.h
parent57b452a8487df30d084ce2b56a993ba7473469e3 (diff)
downloadqemu-074f2fff798cb8f9588080b740dc356217a24720.tar.gz
qdev: move name+size into DeviceInfo (v2)
Rationale: move device information from code to data structures. v2: Adapt the drivers missed in the first version. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
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 861c4849e7..6ff71e9d35 100644
--- a/hw/ssi.h
+++ b/hw/ssi.h
@@ -30,7 +30,7 @@ struct SSISlave {
#define SSI_SLAVE_FROM_QDEV(dev) DO_UPCAST(SSISlave, qdev, dev)
#define FROM_SSI_SLAVE(type, dev) DO_UPCAST(type, ssidev, dev)
-void ssi_register_slave(const char *name, int size, SSISlaveInfo *info);
+void ssi_register_slave(SSISlaveInfo *info);
DeviceState *ssi_create_slave(SSIBus *bus, const char *name);