tmp_suning_uos_patched/sound/pci/lola
Randy Dunlap f428c94c84 ALSA: lola - fix lola build
sound/pci/lola/Makefile was trying to build lola modules even
when PCI and SND_LOLA were not enabled, causing build errors:

ERROR: "snd_pcm_hw_constraint_step" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_period_elapsed" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_dma_alloc_pages" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_hw_constraint_integer" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_sgbuf_ops_page" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_set_ops" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_lib_free_pages" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_lib_ioctl" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_lib_malloc_pages" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_sgbuf_get_chunk_size" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_dma_free_pages" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_lib_preallocate_pages_for_all" [sound/pci/lola/snd-lola.ko] undefined!
ERROR: "snd_pcm_new" [sound/pci/lola/snd-lola.ko] undefined!

Fix the Makefile to build only when CONFIG_SND_LOLA is enabled.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-05-04 19:55:13 +02:00
..
lola_clock.c ALSA: lola - Yet another linux/delay.h inclusion 2011-05-03 18:48:29 +02:00
lola_mixer.c ALSA: lola - Rename to Digital SRC Capture Switch 2011-05-03 17:05:08 +02:00
lola_pcm.c ALSA: lola - Add missing inclusion of linux/delay.h 2011-05-03 18:21:01 +02:00
lola_proc.c ALSA: lola - Changes in proc file 2011-05-03 16:40:52 +02:00
lola.c ALSA: lola - Implement polling_mode like hd-audio 2011-05-03 17:06:53 +02:00
lola.h ALSA: lola - Implement polling_mode like hd-audio 2011-05-03 17:06:53 +02:00
Makefile ALSA: lola - fix lola build 2011-05-04 19:55:13 +02:00