projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe25ad8
)
[ALSA] opti93x - Fix a compile warning
author
Takashi Iwai
<tiwai@suse.de>
Mon, 23 Jan 2006 14:21:05 +0000
(15:21 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Wed, 1 Feb 2006 12:09:09 +0000
(13:09 +0100)
Modules: Opti9xx drivers
Fix a gcc-4.1 compile warning regarding uninitialized variables.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opti9xx/opti92x-ad1848.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/isa/opti9xx/opti92x-ad1848.c
b/sound/isa/opti9xx/opti92x-ad1848.c
index 1ea3944ef7ab08f8d2e560f7ca1cedfadcb1a5c4..63d96be11b2b295c714a1d0cbecfb015f14d2631 100644
(file)
--- a/
sound/isa/opti9xx/opti92x-ad1848.c
+++ b/
sound/isa/opti9xx/opti92x-ad1848.c
@@
-1349,7
+1349,7
@@
static int snd_opti93x_pcm(struct snd_opti93x *codec, int device, struct snd_pcm
int error;
struct snd_pcm *pcm;
- if ((error = snd_pcm_new(codec->card, "OPTi 82C93X", device, 1, 1, &pcm)))
+ if ((error = snd_pcm_new(codec->card, "OPTi 82C93X", device, 1, 1, &pcm))
< 0
)
return error;
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_opti93x_playback_ops);