aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/opl4
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-05-10 04:21:32 -0400
committerTakashi Iwai <tiwai@suse.de>2010-05-10 04:21:32 -0400
commit670ff6abd6caff406b217f8a828d6c03656535d8 (patch)
tree921f3844e7b1d62e5ada22b7ac0ee58e5ec30b9e /sound/drivers/opl4
parentc56a3b18475b0f93b484c25162c1379f5aee367a (diff)
ALSA: opl4 - Fix a wrong argument in proc write callback
The commit 24e4a1211f691fc671de44685430dbad757d8487 ALSA: info - Use standard types for info callbacks introduced a wrong type to snd_opl4_mem_proc_write() for pos argument. Fixed now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/opl4')
-rw-r--r--sound/drivers/opl4/opl4_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/opl4/opl4_proc.c b/sound/drivers/opl4/opl4_proc.c
index c5c13c4c260e..df850b8830a5 100644
--- a/sound/drivers/opl4/opl4_proc.c
+++ b/sound/drivers/opl4/opl4_proc.c
@@ -73,7 +73,7 @@ static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry,
73 void *file_private_data, 73 void *file_private_data,
74 struct file *file, 74 struct file *file,
75 const char __user *_buf, 75 const char __user *_buf,
76 size_t count, size_t pos) 76 size_t count, loff_t pos)
77{ 77{
78 struct snd_opl4 *opl4 = entry->private_data; 78 struct snd_opl4 *opl4 = entry->private_data;
79 char *buf; 79 char *buf;