diff options
Diffstat (limited to 'hw/sensor/emc141x.c')
-rw-r--r-- | hw/sensor/emc141x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sensor/emc141x.c b/hw/sensor/emc141x.c index aeccd2a..33c1bd3 100644 --- a/hw/sensor/emc141x.c +++ b/hw/sensor/emc141x.c @@ -265,7 +265,7 @@ static void emc141x_initfn(Object *obj) emc141x_set_temperature, NULL, NULL); } -static void emc141x_class_init(ObjectClass *klass, void *data) +static void emc141x_class_init(ObjectClass *klass, const void *data) { DeviceClass *dc = DEVICE_CLASS(klass); I2CSlaveClass *k = I2C_SLAVE_CLASS(klass); |