[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sound
Subject:    [linux-sound] typo in alsa sound system upto kernel 2.5.8pre2
From:       gumble <gumble () gmx ! li>
Date:       2002-04-10 13:47:35
[Download RAW message or body]

hi 
i found a bug, or better a typo in the alsa drivers in the 2.5.x kernels

compiling a 2.5.8pre2 with alsa support for my sb16 isa :) i got this message


sound/sound.o: In function `snd_opl3_hwdep_new':
sound/sound.o(.text+0x2b74c): undefined reference to `snd_hwdep_new'
make: *** [vmlinux] Error 1


so i googled around and didnt find anything ....
later i got the idea to grep the srces
and i found a typo in 

linux/sound/drivers/opl3/opl3_lib.c
line 492

if ((err = snd_hwdep_new(card, "OPL2/OPL3", device, &hw)) < 0) {

-->

if ((err = snd_opl3_hwdep_new(card, "OPL2/OPL3", device, &hw)) < 0) {

and the kernel can be compiled

i hope it's correct or does not produce new bugs at least 



mfg
gumble
-
To unsubscribe from this list: send the line "unsubscribe linux-sound" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic