summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/fcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/usb/fcp.c b/sound/usb/fcp.c
index 655e4f7338ed..ecdd18335ab7 100644
--- a/sound/usb/fcp.c
+++ b/sound/usb/fcp.c
@@ -815,13 +815,13 @@ static int fcp_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
/* not reached */
}
-static ssize_t fcp_hwdep_read(struct snd_hwdep *hw, char __user *buf,
- ssize_t count, loff_t *offset)
+static long fcp_hwdep_read(struct snd_hwdep *hw, char __user *buf,
+ long count, loff_t *offset)
{
struct usb_mixer_interface *mixer = hw->private_data;
struct fcp_data *private = mixer->private_data;
unsigned long flags;
- ssize_t ret = 0;
+ long ret = 0;
u32 event;
if (count < sizeof(event))