diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-01-23 09:21:05 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-02-01 07:09:09 -0500 |
commit | 91134859702e66e5946383f66e6eb50ba4325458 (patch) | |
tree | 6accdbc61f79ec5c2f19fea22b29c4f79d0d2473 /sound/isa/opti9xx | |
parent | fe25ad8a84c798a82591e5ed14519c001500fa61 (diff) |
[ALSA] opti93x - Fix a compile warning
Modules: Opti9xx drivers
Fix a gcc-4.1 compile warning regarding uninitialized variables.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/opti9xx')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index 1ea3944ef7ab..63d96be11b2b 100644 --- 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 | |||
1349 | int error; | 1349 | int error; |
1350 | struct snd_pcm *pcm; | 1350 | struct snd_pcm *pcm; |
1351 | 1351 | ||
1352 | if ((error = snd_pcm_new(codec->card, "OPTi 82C93X", device, 1, 1, &pcm))) | 1352 | if ((error = snd_pcm_new(codec->card, "OPTi 82C93X", device, 1, 1, &pcm)) < 0) |
1353 | return error; | 1353 | return error; |
1354 | 1354 | ||
1355 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_opti93x_playback_ops); | 1355 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_opti93x_playback_ops); |