diff options
author | S.Çağlar Onur <caglar@pardus.org.tr> | 2008-02-09 22:27:23 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-10 02:27:01 -0500 |
commit | 95a940e9e1d63c2bff170fcd59ab4e1b5c4c602d (patch) | |
tree | fac90ee50be61cb28d5c7d86220a97156a775b97 /drivers/media/video/em28xx | |
parent | c1cb795338b17f12f3a966a74f199f640714a69d (diff) |
drivers/media/video/em28xx/: Fix undefined symbol error with CONFIG_SND=N
Without this you get undefined symbol errors with CONFIG_SND=N:
ERROR: "snd_pcm_period_elapsed" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_pcm_hw_constraint_integer" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_pcm_set_ops" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_pcm_lib_ioctl" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_card_new" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_card_free" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_card_register" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
ERROR: "snd_pcm_new" [drivers/media/video/em28xx/em28xx-alsa.ko] undefined!
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/Kconfig b/drivers/media/video/em28xx/Kconfig index abbd38c1ebba..0f7a0bd86ff4 100644 --- a/drivers/media/video/em28xx/Kconfig +++ b/drivers/media/video/em28xx/Kconfig | |||
@@ -13,7 +13,8 @@ config VIDEO_EM28XX | |||
13 | module will be called em28xx | 13 | module will be called em28xx |
14 | 14 | ||
15 | config VIDEO_EM28XX_ALSA | 15 | config VIDEO_EM28XX_ALSA |
16 | depends on VIDEO_EM28XX | 16 | depends on VIDEO_EM28XX && SND |
17 | select SND_PCM | ||
17 | tristate "Empia EM28xx ALSA audio module" | 18 | tristate "Empia EM28xx ALSA audio module" |
18 | ---help--- | 19 | ---help--- |
19 | This is an ALSA driver for some Empia 28xx based TV cards. | 20 | This is an ALSA driver for some Empia 28xx based TV cards. |