diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-01 09:34:28 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-02-03 10:41:06 -0600 |
commit | 212ad111683a5b5a79a74d6141a4b75f532a4c8f (patch) | |
tree | 88577e2d790c0570018b636a221f30186063d115 /hw/ssi.c | |
parent | 93c511a1adad281492f18b13e164ae4ac790c052 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |