aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-01-23 09:21:28 -0500
committerJaroslav Kysela <perex@suse.cz>2006-02-01 07:09:10 -0500
commit68b8bc05213567cfc58d8bdb8917b36c314ba7fd (patch)
treec30a9142798821a520c03719552ff3777a31144a /sound/drivers
parent91134859702e66e5946383f66e6eb50ba4325458 (diff)
[ALSA] serial-uart16550 - Fix a compile warning
Modules: Generic drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/serial-u16550.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c
index 29676d800cae..112ddf705402 100644
--- a/sound/drivers/serial-u16550.c
+++ b/sound/drivers/serial-u16550.c
@@ -789,7 +789,7 @@ static int __init snd_uart16550_create(struct snd_card *card,
789 789
790 if ((err = snd_uart16550_detect(uart)) <= 0) { 790 if ((err = snd_uart16550_detect(uart)) <= 0) {
791 printk(KERN_ERR "no UART detected at 0x%lx\n", iobase); 791 printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
792 return err; 792 return -ENODEV;
793 } 793 }
794 794
795 if (irq >= 0 && irq != SNDRV_AUTO_IRQ) { 795 if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {