summary refs log tree commit diff stats
path: root/hw/i2c/allwinner-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/allwinner-i2c.c')
-rw-r--r--hw/i2c/allwinner-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/allwinner-i2c.c b/hw/i2c/allwinner-i2c.c
index 96c20c8637..16f1d6d40e 100644
--- a/hw/i2c/allwinner-i2c.c
+++ b/hw/i2c/allwinner-i2c.c
@@ -170,7 +170,7 @@ static inline bool allwinner_i2c_interrupt_is_enabled(AWI2CState *s)
     return s->cntr & TWI_CNTR_INT_EN;
 }
 
-static void allwinner_i2c_reset_hold(Object *obj)
+static void allwinner_i2c_reset_hold(Object *obj, ResetType type)
 {
     AWI2CState *s = AW_I2C(obj);