summary refs log tree commit diff stats
path: root/hw/intc/goldfish_pic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/goldfish_pic.c')
-rw-r--r--hw/intc/goldfish_pic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/goldfish_pic.c b/hw/intc/goldfish_pic.c
index aa5162c18f..b80538cdeb 100644
--- a/hw/intc/goldfish_pic.c
+++ b/hw/intc/goldfish_pic.c
@@ -185,7 +185,7 @@ static const Property goldfish_pic_properties[] = {
     DEFINE_PROP_UINT8("index", GoldfishPICState, idx, 0),
 };
 
-static void goldfish_pic_class_init(ObjectClass *oc, void *data)
+static void goldfish_pic_class_init(ObjectClass *oc, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(oc);
     InterruptStatsProviderClass *ic = INTERRUPT_STATS_PROVIDER_CLASS(oc);