summary refs log tree commit diff stats
path: root/hw/intc/xics_pnv.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/xics_pnv.c')
-rw-r--r--hw/intc/xics_pnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/xics_pnv.c b/hw/intc/xics_pnv.c
index 753c067f17..ff602d9a34 100644
--- a/hw/intc/xics_pnv.c
+++ b/hw/intc/xics_pnv.c
@@ -176,7 +176,7 @@ static void pnv_icp_realize(DeviceState *dev, Error **errp)
                           icp, "icp-thread", 0x1000);
 }
 
-static void pnv_icp_class_init(ObjectClass *klass, void *data)
+static void pnv_icp_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     ICPStateClass *icpc = ICP_CLASS(klass);