aboutsummaryrefslogtreecommitdiff
path: root/hw/rtc/m41t80.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/rtc/m41t80.c')
-rw-r--r--hw/rtc/m41t80.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/m41t80.c b/hw/rtc/m41t80.c
index 9600695..c631ec3 100644
--- a/hw/rtc/m41t80.c
+++ b/hw/rtc/m41t80.c
@@ -94,7 +94,7 @@ static int m41t80_event(I2CSlave *i2c, enum i2c_event event)
return 0;
}
-static void m41t80_class_init(ObjectClass *klass, void *data)
+static void m41t80_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
I2CSlaveClass *sc = I2C_SLAVE_CLASS(klass);