summaryrefslogtreecommitdiff
path: root/hw/gpio/max7310.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/gpio/max7310.c')
-rw-r--r--hw/gpio/max7310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/gpio/max7310.c b/hw/gpio/max7310.c
index 1a2478b5a9..c6f686c3eb 100644
--- a/hw/gpio/max7310.c
+++ b/hw/gpio/max7310.c
@@ -39,7 +39,7 @@ static void max7310_reset(DeviceState *dev)
s->command = 0x00;
}
-static int max7310_rx(I2CSlave *i2c)
+static uint8_t max7310_rx(I2CSlave *i2c)
{
MAX7310State *s = MAX7310(i2c);