]> err.no Git - linux-2.6/commit
[ALSA] hda-codec - Fix build without CONFIG_SND_HDA_GENERIC
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Oct 2007 06:13:40 +0000 (08:13 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Oct 2007 06:04:35 +0000 (08:04 +0200)
commit35a1e0cce647737b88dac7ca526fc525d92b3fff
tree62212f4809ae1141de21df892295aea4e9dda98c
parentc8229c38c61b1acab1f3fc28275690da71907248
[ALSA] hda-codec - Fix build without CONFIG_SND_HDA_GENERIC

Fixed the build error from patch_sigmatel.c when built without
CONFIG_SND_HDA_GENERIC by defining a dummy function to return error.
Also, clean up hda_codec.c by removing unneeded ifdefs (the compiler
will optimize out).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h