diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-04-13 05:22:01 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-04-13 05:57:14 -0400 |
commit | 24e4a1211f691fc671de44685430dbad757d8487 (patch) | |
tree | 904e30d3a24f9b0f28378c72f0924fc1e429f5f2 /sound/isa/gus | |
parent | 067e4a5d23422c9e9a0787b7e18fa2457226d999 (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/isa/gus')
-rw-r--r-- | sound/isa/gus/gus_mem_proc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/isa/gus/gus_mem_proc.c b/sound/isa/gus/gus_mem_proc.c index 2803e227aec9..b2d2dba6c860 100644 --- a/sound/isa/gus/gus_mem_proc.c +++ b/sound/isa/gus/gus_mem_proc.c | |||
@@ -31,9 +31,10 @@ struct gus_proc_private { | |||
31 | struct snd_gus_card * gus; | 31 | struct snd_gus_card * gus; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | static long snd_gf1_mem_proc_dump(struct snd_info_entry *entry, void *file_private_data, | 34 | static ssize_t snd_gf1_mem_proc_dump(struct snd_info_entry *entry, |
35 | struct file *file, char __user *buf, | 35 | void *file_private_data, |
36 | unsigned long count, unsigned long pos) | 36 | struct file *file, char __user *buf, |
37 | size_t count, loff_t pos) | ||
37 | { | 38 | { |
38 | long size; | 39 | long size; |
39 | struct gus_proc_private *priv = entry->private_data; | 40 | struct gus_proc_private *priv = entry->private_data; |
@@ -51,11 +52,10 @@ static long snd_gf1_mem_proc_dump(struct snd_info_entry *entry, void *file_priva | |||
51 | return 0; | 52 | return 0; |
52 | } | 53 | } |
53 | 54 | ||
54 | static long long snd_gf1_mem_proc_llseek(struct snd_info_entry *entry, | 55 | static loff_t snd_gf1_mem_proc_llseek(struct snd_info_entry *entry, |
55 | void *private_file_data, | 56 | void *private_file_data, |
56 | struct file *file, | 57 | struct file *file, |
57 | long long offset, | 58 | loff_t offset, int orig) |
58 | int orig) | ||
59 | { | 59 | { |
60 | struct gus_proc_private *priv = entry->private_data; | 60 | struct gus_proc_private *priv = entry->private_data; |
61 | 61 | ||