aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/aspeed_peci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/aspeed_peci.c')
-rw-r--r--hw/misc/aspeed_peci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/aspeed_peci.c b/hw/misc/aspeed_peci.c
index 93cc672..9025b35 100644
--- a/hw/misc/aspeed_peci.c
+++ b/hw/misc/aspeed_peci.c
@@ -135,7 +135,7 @@ static void aspeed_peci_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = aspeed_peci_realize;
- dc->reset = aspeed_peci_reset;
+ device_class_set_legacy_reset(dc, aspeed_peci_reset);
dc->desc = "Aspeed PECI Controller";
}