aboutsummaryrefslogtreecommitdiff
path: root/hw/core/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/core/reset.c')
-rw-r--r--hw/core/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/core/reset.c b/hw/core/reset.c
index 8a3e0e5..65f82fa 100644
--- a/hw/core/reset.c
+++ b/hw/core/reset.c
@@ -84,7 +84,7 @@ static void legacy_reset_finalize(Object *obj)
{
}
-static void legacy_reset_class_init(ObjectClass *klass, void *data)
+static void legacy_reset_class_init(ObjectClass *klass, const void *data)
{
ResettableClass *rc = RESETTABLE_CLASS(klass);