[PATCH -next] sound/pcmcia/vx build error

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gabriel C <nix.or.die@...>
Cc: Takashi Iwai <tiwai@...>, Linux Kernel list <linux-kernel@...>, <linux-next@...>, akpm <akpm@...>
Date: Wednesday, May 21, 2008 - 2:37 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

menuconfig in Sound PCMCIA drivers needs to be tristate so that SND_PCMCIA
can have a value of m so that following drivers can be restricted to m
when needed.

sound/built-in.o: In function `vxpocket_detach':
vxpocket.c:(.text+0x20cfa): undefined reference to `pcmcia_disable_device'
sound/built-in.o: In function `vxpocket_probe':
vxpocket.c:(.text+0x20f46): undefined reference to `pcmcia_request_io'
vxpocket.c:(.text+0x20f5a): undefined reference to `pcmcia_request_irq'
vxpocket.c:(.text+0x20f73): undefined reference to `pcmcia_request_configuration'
vxpocket.c:(.text+0x2101f): undefined reference to `cs_error'
vxpocket.c:(.text+0x21027): undefined reference to `pcmcia_disable_device'
sound/built-in.o: In function `init_vxpocket':
vxpocket.c:(.init.text+0x75b): undefined reference to `pcmcia_register_driver'
sound/built-in.o: In function `exit_vxpocket':
vxpocket.c:(.exit.text+0x28c): undefined reference to `pcmcia_unregister_driver'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 sound/pcmcia/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20080521.orig/sound/pcmcia/Kconfig
+++ linux-next-20080521/sound/pcmcia/Kconfig
@@ -1,7 +1,7 @@
 # ALSA PCMCIA drivers
 
 menuconfig SND_PCMCIA
-	bool "PCMCIA sound devices"
+	tristate "PCMCIA sound devices"
 	depends on PCMCIA
 	default y
 	help
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: sound/pcmcia/vx build error, Gabriel C, (Wed May 21, 1:47 pm)
[PATCH -next] sound/pcmcia/vx build error, Randy Dunlap, (Wed May 21, 2:37 pm)
Re: [PATCH -next] sound/pcmcia/vx build error, Takashi Iwai, (Wed May 21, 2:53 pm)