aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/i2c-ddc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/i2c-ddc.c')
-rw-r--r--hw/i2c/i2c-ddc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/i2c-ddc.c b/hw/i2c/i2c-ddc.c
index 0a0367ff38..7aa8727771 100644
--- a/hw/i2c/i2c-ddc.c
+++ b/hw/i2c/i2c-ddc.c
@@ -51,7 +51,7 @@ static int i2c_ddc_event(I2CSlave *i2c, enum i2c_event event)
return 0;
}
-static int i2c_ddc_rx(I2CSlave *i2c)
+static uint8_t i2c_ddc_rx(I2CSlave *i2c)
{
I2CDDCState *s = I2CDDC(i2c);