summaryrefslogtreecommitdiff
path: root/hw/ssi.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-02-01 09:34:28 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2012-02-03 10:41:06 -0600
commit212ad111683a5b5a79a74d6141a4b75f532a4c8f (patch)
tree88577e2d790c0570018b636a221f30186063d115 /hw/ssi.c
parent93c511a1adad281492f18b13e164ae4ac790c052 (diff)
qdev: kill off DeviceInfo list
Teach the various bits of code that need to walk through available devices to do so via QOM. Signed-off-by: Anthony Liguori
Diffstat (limited to 'hw/ssi.c')
-rw-r--r--hw/ssi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi.c b/hw/ssi.c
index 99a061619d..994c92241f 100644
--- a/hw/ssi.c
+++ b/hw/ssi.c
@@ -41,7 +41,7 @@ void ssi_register_slave(DeviceInfo *info)
assert(info->size >= sizeof(SSISlave));
info->init = ssi_slave_init;
info->bus_info = &ssi_bus_info;
- qdev_register(info);
+ qdev_register_subclass(info, TYPE_SSI_SLAVE);
}
DeviceState *ssi_create_slave(SSIBus *bus, const char *name)