[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B2B8371.7050609@gmail.com>
Date: Fri, 18 Dec 2009 21:28:17 +0800
From: "Helight.Xu" <helight.xu@...il.com>
To: ibm-acpi-devel@...ts.sourceforge.net
CC: Américo Wang <xiyou.wangcong@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] thinkpad_acpi: fix a build error
Helight.Xu wrote:
> This patch fixes the following build error:
>
> Building modules, stage 2.
> MODPOST 1834 modules
> ERROR: "snd_card_create" [drivers/platform/x86/thinkpad_acpi.ko]
> undefined!
> ERROR: "snd_ctl_notify" [drivers/platform/x86/thinkpad_acpi.ko]
> undefined!
> ERROR: "snd_ctl_boolean_mono_info"
> [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_ctl_new1" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_card_free" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
> ERROR: "snd_card_register" [drivers/platform/x86/thinkpad_acpi.ko]
> undefined!
> ERROR: "snd_ctl_add" [drivers/platform/x86/thinkpad_acpi.ko] undefined!
>
>
>
> Signed-off-by: WANG Cong <amwang@...hat.com>
> Signed-off-by: Helight.Xu <helight.xu@...il.com>
> Tested-by: Helight.Xu
> <helight.xu@...il.com>
> ---
> drivers/platform/x86/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
> index fc5bf9d..cda6fb6 100644
> --- a/drivers/platform/x86/Kconfig
> +++ b/drivers/platform/x86/Kconfig
> @@ -215,6 +215,7 @@ config THINKPAD_ACPI
> depends on ACPI
> depends on INPUT
> depends on RFKILL || RFKILL = n
> + depends on SND
> select BACKLIGHT_LCD_SUPPORT
> select BACKLIGHT_CLASS_DEVICE
> select HWMON
It was tested!
--
Zhenwen Xu - Seven Helight
Home Page: http://zhwen.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists