summary refs log tree commit diff stats
path: root/hw/i2c/npcm7xx_smbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/npcm7xx_smbus.c')
-rw-r--r--hw/i2c/npcm7xx_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/npcm7xx_smbus.c b/hw/i2c/npcm7xx_smbus.c
index 22d68fc67d..179852a4fd 100644
--- a/hw/i2c/npcm7xx_smbus.c
+++ b/hw/i2c/npcm7xx_smbus.c
@@ -1075,7 +1075,7 @@ static const VMStateDescription vmstate_npcm7xx_smbus = {
     },
 };
 
-static void npcm7xx_smbus_class_init(ObjectClass *klass, void *data)
+static void npcm7xx_smbus_class_init(ObjectClass *klass, const void *data)
 {
     ResettableClass *rc = RESETTABLE_CLASS(klass);
     DeviceClass *dc = DEVICE_CLASS(klass);