aboutsummaryrefslogtreecommitdiff
path: root/hw/char/renesas_sci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/renesas_sci.c')
-rw-r--r--hw/char/renesas_sci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/renesas_sci.c b/hw/char/renesas_sci.c
index ea94494..b9d0ed1 100644
--- a/hw/char/renesas_sci.c
+++ b/hw/char/renesas_sci.c
@@ -324,7 +324,7 @@ static const Property rsci_properties[] = {
DEFINE_PROP_CHR("chardev", RSCIState, chr),
};
-static void rsci_class_init(ObjectClass *klass, void *data)
+static void rsci_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);