From: "Helight.Xu" <helight.xu@gmail.com>
To: ibm-acpi-devel@lists.sourceforge.net,
"Américo Wang" <xiyou.wangcong@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] thinkpad_acpi: fix a build error
Date: Fri, 18 Dec 2009 21:23:45 +0800 [thread overview]
Message-ID: <4B2B8261.9000105@gmail.com> (raw)
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@redhat.com>
Signed-off-by: Helight.Xu <helight.xu@gmail.com>
Tested-by: Helight.Xu
<helight.xu@gmail.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
--
1.6.5.3
--
Zhenwen Xu - Seven Helight
Home Page: http://zhwen.org
next reply other threads:[~2009-12-18 13:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 13:23 Helight.Xu [this message]
2009-12-18 13:28 ` [PATCH] thinkpad_acpi: fix a build error Helight.Xu
-- strict thread matches above, loose matches on Subject: below --
2009-12-18 9:28 [Patch] " Amerigo Wang
2009-12-18 9:42 ` Xiaotian Feng
2009-12-18 10:15 ` Takashi Iwai
2009-12-18 12:23 ` Helight.Xu
2009-12-18 14:28 ` Henrique de Moraes Holschuh
2009-12-18 14:31 ` Takashi Iwai
2009-12-18 15:03 ` Henrique de Moraes Holschuh
2009-12-18 15:10 ` Takashi Iwai
2009-12-21 22:38 ` Marcel Holtmann
2009-12-21 22:44 ` Randy Dunlap
2009-12-22 19:38 ` Henrique de Moraes Holschuh
2009-12-23 6:41 ` Takashi Iwai
2009-12-24 18:59 ` Henrique de Moraes Holschuh
2009-12-25 11:09 ` Takashi Iwai
2009-12-22 1:10 ` Helight.Xu
2009-12-22 3:00 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B2B8261.9000105@gmail.com \
--to=helight.xu@gmail.com \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox