summaryrefslogtreecommitdiffstats
path: root/sound/drivers/serial-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers/serial-generic.c')
-rw-r--r--sound/drivers/serial-generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/serial-generic.c b/sound/drivers/serial-generic.c
index d6e5aafd69..36409a56c6 100644
--- a/sound/drivers/serial-generic.c
+++ b/sound/drivers/serial-generic.c
@@ -100,8 +100,8 @@ static void snd_serial_generic_write_wakeup(struct serdev_device *serdev)
snd_serial_generic_tx_wakeup(drvdata);
}
-static ssize_t snd_serial_generic_receive_buf(struct serdev_device *serdev,
- const u8 *buf, size_t count)
+static size_t snd_serial_generic_receive_buf(struct serdev_device *serdev,
+ const u8 *buf, size_t count)
{
int ret;
struct snd_serial_generic *drvdata = serdev_device_get_drvdata(serdev);