aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/aspeed_peci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/aspeed_peci.c')
-rw-r--r--hw/misc/aspeed_peci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/aspeed_peci.c b/hw/misc/aspeed_peci.c
index 9025b35..a7a449a 100644
--- a/hw/misc/aspeed_peci.c
+++ b/hw/misc/aspeed_peci.c
@@ -130,7 +130,7 @@ static void aspeed_peci_reset(DeviceState *dev)
memset(s->regs, 0, sizeof(s->regs));
}
-static void aspeed_peci_class_init(ObjectClass *klass, void *data)
+static void aspeed_peci_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);