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

From: Takashi Iwai
Date: Wed May 21 2008 - 14:53:36 EST


At Wed, 21 May 2008 11:37:21 -0700,
Randy Dunlap wrote:
>
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Thanks, applied to my tree now.


Takashi

> ---
> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/