aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/m41t80.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/m41t80.c')
-rw-r--r--hw/timer/m41t80.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/m41t80.c b/hw/timer/m41t80.c
index 734d7d95fc..c45b9297d8 100644
--- a/hw/timer/m41t80.c
+++ b/hw/timer/m41t80.c
@@ -40,7 +40,7 @@ static int m41t80_send(I2CSlave *i2c, uint8_t data)
return 0;
}
-static int m41t80_recv(I2CSlave *i2c)
+static uint8_t m41t80_recv(I2CSlave *i2c)
{
M41t80State *s = M41T80(i2c);
struct tm now;