aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi.c
diff options
context:
space:
mode:
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)