diff options
Diffstat (limited to 'hw/core/platform-bus.c')
-rw-r--r-- | hw/core/platform-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/platform-bus.c b/hw/core/platform-bus.c index edb0da1de8..22c5f76dd0 100644 --- a/hw/core/platform-bus.c +++ b/hw/core/platform-bus.c @@ -211,7 +211,7 @@ static void platform_bus_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->realize = platform_bus_realize; - dc->props = platform_bus_properties; + device_class_set_props(dc, platform_bus_properties); } static const TypeInfo platform_bus_info = { |