Linux Sound subsystem development
 help / color / mirror / Atom feed
* [linux-sound] typo in alsa sound system upto kernel 2.5.8pre2
@ 2002-04-10 13:47 gumble
  0 siblings, 0 replies; only message in thread
From: gumble @ 2002-04-10 13:47 UTC (permalink / raw)
  To: linux-sound

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-10 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 13:47 [linux-sound] typo in alsa sound system upto kernel 2.5.8pre2 gumble

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox