From: Takashi Iwai Date: Mon, 20 Oct 2008 12:52:16 +0000 (+0200) Subject: go7007 - Add missing dependency on sound subsystem X-Git-Tag: v2.6.28-rc1~102^2^4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=27dee52dfb7ecea26c8b70f652f54605b27252e9;p=linux-2.6-omap-h63xx.git go7007 - Add missing dependency on sound subsystem The dependency on the sound system is missing for go7007 driver, which resulted in missing symbols like drivers/built-in.o: In function `go7007_snd_remove': : undefined reference to `snd_card_disconnect' drivers/built-in.o: In function `go7007_snd_remove': : undefined reference to `snd_card_free_when_closed' ... This patch adds the dependency on CONFIG_SND, and selects CONFIG_SND_PCM properly. Signed-off-by: Takashi Iwai Tested-by: Ingo Molnar Cc: Ross Cohen Cc: Greg Kroah-Hartman --- diff --git a/drivers/staging/go7007/Kconfig b/drivers/staging/go7007/Kconfig index 57a121c338c..593fdb767aa 100644 --- a/drivers/staging/go7007/Kconfig +++ b/drivers/staging/go7007/Kconfig @@ -1,10 +1,12 @@ config VIDEO_GO7007 tristate "Go 7007 support" depends on VIDEO_DEV && PCI && I2C && INPUT + depends on SND select VIDEOBUF_DMA_SG select VIDEO_IR select VIDEO_TUNER select VIDEO_TVEEPROM + select SND_PCM select CRC32 default N ---help---