[PATCH] v4l: prevent saa7134 alsa undefined warnings

Prevent the following build warnings:

*** Warning: "snd_card_free"
*** Warning: "snd_card_register"
*** Warning: "snd_device_new"
*** Warning: "snd_card_new"
*** Warning: "snd_ctl_add"
*** Warning: "snd_ctl_new1"
*** Warning: "snd_pcm_set_ops"
*** Warning: "snd_pcm_new"
*** Warning: "snd_pcm_lib_ioctl"
*** Warning: "snd_pcm_hw_constraint_integer"
*** Warning: "snd_pcm_stop"
*** Warning: "snd_pcm_period_elapsed"
[drivers/media/video/saa7134/saa7134-alsa.ko] undefined!

Signed-off-by: Michael Krufky <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Mike Krufky 2005-11-13 16:08:08 -08:00 • committed by Linus Torvalds
commit 24b59258eb

View file

@ -1,6 +1,6 @@
config VIDEO_SAA7134
tristate "Philips SAA7134 support"
depends on VIDEO_DEV && PCI && I2C && SOUND
depends on VIDEO_DEV && PCI && I2C && SOUND && SND && SND_PCM_OSS
select VIDEO_BUF
select VIDEO_IR
select VIDEO_TUNER