]> git.baikalelectronics.ru Git - kernel.git/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)
commit9b5c323ac14e60c4a5f911cfe91f7361e0b4d719
tree62212f4809ae1141de21df892295aea4e9dda98c
parentb350ffedce1676afb14c54a91439b5c3ab32a163
[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