diff options
Diffstat (limited to 'hw/misc/bcm2835_mphi.c')
-rw-r--r-- | hw/misc/bcm2835_mphi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/bcm2835_mphi.c b/hw/misc/bcm2835_mphi.c index f1eeda2786..7309cf22fc 100644 --- a/hw/misc/bcm2835_mphi.c +++ b/hw/misc/bcm2835_mphi.c @@ -171,7 +171,7 @@ static void mphi_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->realize = mphi_realize; - dc->reset = mphi_reset; + device_class_set_legacy_reset(dc, mphi_reset); dc->vmsd = &vmstate_mphi_state; } |