aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-29 07:22:29 -0400
committerJaroslav Kysela <perex@suse.cz>2006-07-12 14:07:26 -0400
commitefce4bb9ecd033c9e0f221549be0098bcf6a3aad (patch)
treed73b103b2ee8a36d5dbd886d60ad170dabec9801 /sound
parentcb6dd2609779e55b34876d75a9092b1a1f513142 (diff)
[ALSA] fix the SND_FM801_TEA575X dependencies
CONFIG_SND_FM801=y, CONFIG_SND_FM801_TEA575X=m resulted in the following compile error: <-- snip --> ... LD vmlinux sound/built-in.o: In function 'snd_fm801_free': fm801.c:(.text+0x3c15b): undefined reference to 'snd_tea575x_exit' sound/built-in.o: In function 'snd_card_fm801_probe': fm801.c:(.text+0x3cfde): undefined reference to 'snd_tea575x_init' make: *** [vmlinux] Error 1 <-- snip --> This patch fixes kernel Bugzilla #6458. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/Kconfig14
-rw-r--r--sound/pci/fm801.c2
2 files changed, 9 insertions, 7 deletions
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig
index 23e54cedfd4a..9951bff0d302 100644
--- a/sound/pci/Kconfig
+++ b/sound/pci/Kconfig
@@ -460,17 +460,19 @@ config SND_FM801
460 To compile this driver as a module, choose M here: the module 460 To compile this driver as a module, choose M here: the module
461 will be called snd-fm801. 461 will be called snd-fm801.
462 462
463config SND_FM801_TEA575X 463config SND_FM801_TEA575X_BOOL
464 tristate "ForteMedia FM801 + TEA5757 tuner" 464 bool "ForteMedia FM801 + TEA5757 tuner"
465 depends on SND_FM801 465 depends on SND_FM801
466 select VIDEO_DEV
467 help 466 help
468 Say Y here to include support for soundcards based on the ForteMedia 467 Say Y here to include support for soundcards based on the ForteMedia
469 FM801 chip with a TEA5757 tuner connected to GPIO1-3 pins (Media 468 FM801 chip with a TEA5757 tuner connected to GPIO1-3 pins (Media
470 Forte SF256-PCS-02). 469 Forte SF256-PCS-02) into the snd-fm801 driver.
471 470
472 To compile this driver as a module, choose M here: the module 471config SND_FM801_TEA575X
473 will be called snd-fm801-tea575x. 472 tristate
473 depends on SND_FM801_TEA575X_BOOL
474 default SND_FM801
475 select VIDEO_DEV
474 476
475config SND_HDA_INTEL 477config SND_HDA_INTEL
476 tristate "Intel HD Audio" 478 tristate "Intel HD Audio"
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c
index 3aed27eace2c..0b782e1e12f8 100644
--- a/sound/pci/fm801.c
+++ b/sound/pci/fm801.c
@@ -35,7 +35,7 @@
35 35
36#include <asm/io.h> 36#include <asm/io.h>
37 37
38#if (defined(CONFIG_SND_FM801_TEA575X) || defined(CONFIG_SND_FM801_TEA575X_MODULE)) && (defined(CONFIG_VIDEO_DEV) || defined(CONFIG_VIDEO_DEV_MODULE)) 38#ifdef CONFIG_SND_FM801_TEA575X_BOOL
39#include <sound/tea575x-tuner.h> 39#include <sound/tea575x-tuner.h>
40#define TEA575X_RADIO 1 40#define TEA575X_RADIO 1
41#endif 41#endif