diff options
Diffstat (limited to 'hw/block/swim.c')
-rw-r--r-- | hw/block/swim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/swim.c b/hw/block/swim.c index c6d117e89b..8f124782f4 100644 --- a/hw/block/swim.c +++ b/hw/block/swim.c @@ -239,7 +239,7 @@ static void swim_drive_class_init(ObjectClass *klass, void *data) k->realize = swim_drive_realize; set_bit(DEVICE_CATEGORY_STORAGE, k->categories); k->bus_type = TYPE_SWIM_BUS; - k->props = swim_drive_properties; + device_class_set_props(k, swim_drive_properties); k->desc = "virtual SWIM drive"; } |