diff options
Diffstat (limited to 'sound/isa/gus')
-rw-r--r-- | sound/isa/gus/gus_mem_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/isa/gus/gus_mem_proc.c b/sound/isa/gus/gus_mem_proc.c index 4080255007d5..80f0a83818b2 100644 --- a/sound/isa/gus/gus_mem_proc.c +++ b/sound/isa/gus/gus_mem_proc.c | |||
@@ -61,13 +61,13 @@ static long long snd_gf1_mem_proc_llseek(struct snd_info_entry *entry, | |||
61 | struct gus_proc_private *priv = entry->private_data; | 61 | struct gus_proc_private *priv = entry->private_data; |
62 | 62 | ||
63 | switch (orig) { | 63 | switch (orig) { |
64 | case 0: /* SEEK_SET */ | 64 | case SEEK_SET: |
65 | file->f_pos = offset; | 65 | file->f_pos = offset; |
66 | break; | 66 | break; |
67 | case 1: /* SEEK_CUR */ | 67 | case SEEK_CUR: |
68 | file->f_pos += offset; | 68 | file->f_pos += offset; |
69 | break; | 69 | break; |
70 | case 2: /* SEEK_END, offset is negative */ | 70 | case SEEK_END: /* offset is negative */ |
71 | file->f_pos = priv->size + offset; | 71 | file->f_pos = priv->size + offset; |
72 | break; | 72 | break; |
73 | default: | 73 | default: |