Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=95a940e9e1d63c2bff170fcd59ab4e1b5c4c602d
Commit:     95a940e9e1d63c2bff170fcd59ab4e1b5c4c602d
Parent:     c1cb795338b17f12f3a966a74f199f640714a69d
Author:     S.Çağlar Onur <[EMAIL PROTECTED]>
AuthorDate: Sun Feb 10 05:27:23 2008 +0200
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Feb 9 23:27:01 2008 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 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 abbd38c..0f7a0bd 100644
--- a/drivers/media/video/em28xx/Kconfig
+++ b/drivers/media/video/em28xx/Kconfig
@@ -13,7 +13,8 @@ config VIDEO_EM28XX
          module will be called em28xx
 
 config VIDEO_EM28XX_ALSA
-       depends on VIDEO_EM28XX
+       depends on VIDEO_EM28XX && SND
+       select SND_PCM
        tristate "Empia EM28xx ALSA audio module"
        ---help---
          This is an ALSA driver for some Empia 28xx based TV cards.
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to