summary refs log tree commit diff stats
path: root/hw/misc/exynos4210_pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/exynos4210_pmu.c')
-rw-r--r--hw/misc/exynos4210_pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/exynos4210_pmu.c b/hw/misc/exynos4210_pmu.c
index 7e28e790d7..9d3c2e817d 100644
--- a/hw/misc/exynos4210_pmu.c
+++ b/hw/misc/exynos4210_pmu.c
@@ -502,7 +502,7 @@ static void exynos4210_pmu_class_init(ObjectClass *klass, void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
 
-    dc->reset = exynos4210_pmu_reset;
+    device_class_set_legacy_reset(dc, exynos4210_pmu_reset);
     dc->vmsd = &exynos4210_pmu_vmstate;
 }