Commit 68b8bc05 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] serial-uart16550 - Fix a compile warning

Modules: Generic drivers

Fix a gcc-4.1 compile warning regarding uninitialized variables.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 91134859
...@@ -789,7 +789,7 @@ static int __init snd_uart16550_create(struct snd_card *card, ...@@ -789,7 +789,7 @@ static int __init snd_uart16550_create(struct snd_card *card,
if ((err = snd_uart16550_detect(uart)) <= 0) { if ((err = snd_uart16550_detect(uart)) <= 0) {
printk(KERN_ERR "no UART detected at 0x%lx\n", iobase); printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
return err; return -ENODEV;
} }
if (irq >= 0 && irq != SNDRV_AUTO_IRQ) { if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment