]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_extioi: Replace legacy reset callback with new api
authorBibo Mao <maobibo@loongson.cn>
Fri, 7 Mar 2025 02:23:21 +0000 (10:23 +0800)
committerBibo Mao <maobibo@loongson.cn>
Tue, 6 May 2025 01:17:32 +0000 (09:17 +0800)
commitbba709ff694cc6f844ca32d333b6be7adc7bd6b4
treecee5230f91a363c1b719e43913a0fde6447a6c52
parent86e4a64751a728aae24fa95d76d6c313aa82cf82
hw/intc/loongarch_extioi: Replace legacy reset callback with new api

Replace legacy reset callback register device_class_set_legacy_reset()
with new function resettable_class_set_parent_phases(). With new API,
it will call reset callback of parent object and then itself.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_extioi.c
include/hw/intc/loongarch_extioi.h