diff options
Diffstat (limited to 'hw/dma/i8257.c')
| -rw-r--r-- | hw/dma/i8257.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c index 24a54ca272..3e6700e53b 100644 --- a/hw/dma/i8257.c +++ b/hw/dma/i8257.c @@ -599,7 +599,7 @@ static void i8257_class_init(ObjectClass *klass, void *data) IsaDmaClass *idc = ISADMA_CLASS(klass); dc->realize = i8257_realize; - dc->reset = i8257_reset; + device_class_set_legacy_reset(dc, i8257_reset); dc->vmsd = &vmstate_i8257; device_class_set_props(dc, i8257_properties); |