summary refs log tree commit diff stats
path: root/target/xtensa/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/xtensa/helper.c')
-rw-r--r--target/xtensa/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c
index d02d16f9ec..0459787981 100644
--- a/target/xtensa/helper.c
+++ b/target/xtensa/helper.c
@@ -170,7 +170,7 @@ static void xtensa_finalize_config(XtensaConfig *config)
     }
 }
 
-static void xtensa_core_class_init(ObjectClass *oc, void *data)
+static void xtensa_core_class_init(ObjectClass *oc, const void *data)
 {
     CPUClass *cc = CPU_CLASS(oc);
     XtensaCPUClass *xcc = XTENSA_CPU_CLASS(oc);