aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/arm_l2x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/arm_l2x0.c')
-rw-r--r--hw/misc/arm_l2x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c
index 39b4642..8b4b61e 100644
--- a/hw/misc/arm_l2x0.c
+++ b/hw/misc/arm_l2x0.c
@@ -177,7 +177,7 @@ static const Property l2x0_properties[] = {
DEFINE_PROP_UINT32("cache-type", L2x0State, cache_type, 0x1c100100),
};
-static void l2x0_class_init(ObjectClass *klass, void *data)
+static void l2x0_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);