summary refs log tree commit diff stats
path: root/hw/ppc/pnv_nest_pervasive.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/pnv_nest_pervasive.c')
-rw-r--r--hw/ppc/pnv_nest_pervasive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/pnv_nest_pervasive.c b/hw/ppc/pnv_nest_pervasive.c
index 780fa69dde..b5182d54fa 100644
--- a/hw/ppc/pnv_nest_pervasive.c
+++ b/hw/ppc/pnv_nest_pervasive.c
@@ -181,7 +181,7 @@ static void pnv_nest_pervasive_realize(DeviceState *dev, Error **errp)
                           PNV10_XSCOM_CHIPLET_CTRL_REGS_SIZE);
 }
 
-static void pnv_nest_pervasive_class_init(ObjectClass *klass, void *data)
+static void pnv_nest_pervasive_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);