summary refs log tree commit diff stats
path: root/hw/misc/exynos4210_clk.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/exynos4210_clk.c')
-rw-r--r--hw/misc/exynos4210_clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/exynos4210_clk.c b/hw/misc/exynos4210_clk.c
index 4566a426fa..886d10bbab 100644
--- a/hw/misc/exynos4210_clk.c
+++ b/hw/misc/exynos4210_clk.c
@@ -145,7 +145,7 @@ static void exynos4210_clk_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = exynos4210_clk_reset;
+    device_class_set_legacy_reset(dc, exynos4210_clk_reset);
     dc->vmsd = &exynos4210_clk_vmstate;
 }