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 0ea3083bb6..22d68fc67d 100644
--- a/hw/i2c/npcm7xx_smbus.c
+++ b/hw/i2c/npcm7xx_smbus.c
@@ -1022,7 +1022,7 @@ static void npcm7xx_smbus_enter_reset(Object *obj, ResetType type)
     s->rx_cur = 0;
 }
 
-static void npcm7xx_smbus_hold_reset(Object *obj)
+static void npcm7xx_smbus_hold_reset(Object *obj, ResetType type)
 {
     NPCM7xxSMBusState *s = NPCM7XX_SMBUS(obj);