[2.6 patch] VIDEO_CX88_ALSA must select SND_PCM

From: Adrian Bunk
Date: Wed Jan 18 2006 - 20:19:57 EST


This patch fixes the following compile error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `snd_cx88_pcm_open':cx88-alsa.c:(.text+0x43f87a): undefined reference to 'snd_pcm_hw_constraint_integer'
drivers/built-in.o: In function `snd_cx88_hw_params':cx88-alsa.c:(.text+0x43f9e7): undefined reference to `snd_pcm_format_physical_width'
drivers/built-in.o: In function `cx8801_irq':cx88-alsa.c:(.text+0x43ff1f): undefined reference to `snd_pcm_period_elapsed'
drivers/built-in.o: In function `cx88_audio_initdev':cx88-alsa.c:(.text+0x440158): undefined reference to `snd_pcm_new':cx88-alsa.c:(.text+0x440194): undefined reference to `snd_pcm_set_ops'
drivers/built-in.o:(.data+0xa6f88): undefined reference to `snd_pcm_lib_ioctl'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.16-rc1-mm1-full/drivers/media/video/cx88/Kconfig.old 2006-01-19 01:58:39.000000000 +0100
+++ linux-2.6.16-rc1-mm1-full/drivers/media/video/cx88/Kconfig 2006-01-19 01:58:51.000000000 +0100
@@ -32,6 +32,7 @@
config VIDEO_CX88_ALSA
tristate "ALSA DMA audio support"
depends on VIDEO_CX88 && SND && EXPERIMENTAL
+ select SND_PCM
---help---
This is a video4linux driver for direct (DMA) audio on
Conexant 2388x based TV cards.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/