aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs4281.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-04-13 05:22:01 -0400
committerTakashi Iwai <tiwai@suse.de>2010-04-13 05:57:14 -0400
commit24e4a1211f691fc671de44685430dbad757d8487 (patch)
tree904e30d3a24f9b0f28378c72f0924fc1e429f5f2 /sound/pci/cs4281.c
parent067e4a5d23422c9e9a0787b7e18fa2457226d999 (diff)
ALSA: info - Use standard types for info callbacks
Use loff_t, size_t and ssize_t for arguments of info callbacks to follow the standard procfs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs4281.c')
-rw-r--r--sound/pci/cs4281.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c
index 9edc65059e3e..b0bba2e86b12 100644
--- a/sound/pci/cs4281.c
+++ b/sound/pci/cs4281.c
@@ -1139,10 +1139,10 @@ static void snd_cs4281_proc_read(struct snd_info_entry *entry,
1139 snd_iprintf(buffer, "Spurious end IRQs : %u\n", chip->spurious_dtc_irq); 1139 snd_iprintf(buffer, "Spurious end IRQs : %u\n", chip->spurious_dtc_irq);
1140} 1140}
1141 1141
1142static long snd_cs4281_BA0_read(struct snd_info_entry *entry, 1142static ssize_t snd_cs4281_BA0_read(struct snd_info_entry *entry,
1143 void *file_private_data, 1143 void *file_private_data,
1144 struct file *file, char __user *buf, 1144 struct file *file, char __user *buf,
1145 unsigned long count, unsigned long pos) 1145 size_t count, loff_t pos)
1146{ 1146{
1147 long size; 1147 long size;
1148 struct cs4281 *chip = entry->private_data; 1148 struct cs4281 *chip = entry->private_data;
@@ -1157,10 +1157,10 @@ static long snd_cs4281_BA0_read(struct snd_info_entry *entry,
1157 return size; 1157 return size;
1158} 1158}
1159 1159
1160static long snd_cs4281_BA1_read(struct snd_info_entry *entry, 1160static ssize_t snd_cs4281_BA1_read(struct snd_info_entry *entry,
1161 void *file_private_data, 1161 void *file_private_data,
1162 struct file *file, char __user *buf, 1162 struct file *file, char __user *buf,
1163 unsigned long count, unsigned long pos) 1163 size_t count, loff_t pos)
1164{ 1164{
1165 long size; 1165 long size;
1166 struct cs4281 *chip = entry->private_data; 1166 struct cs4281 *chip = entry->private_data;