summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gnss/serial.c')
-rw-r--r--drivers/gnss/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gnss/serial.c b/drivers/gnss/serial.c
index baa956494e..0e43bf6294 100644
--- a/drivers/gnss/serial.c
+++ b/drivers/gnss/serial.c
@@ -80,7 +80,7 @@ static const struct gnss_operations gnss_serial_gnss_ops = {
.write_raw = gnss_serial_write_raw,
};
-static ssize_t gnss_serial_receive_buf(struct serdev_device *serdev,
+static size_t gnss_serial_receive_buf(struct serdev_device *serdev,
const u8 *buf, size_t count)
{
struct gnss_serial *gserial = serdev_device_get_drvdata(serdev);