public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] thinkpad_acpi: fix a build error
@ 2009-12-18 13:23 Helight.Xu
  2009-12-18 13:28 ` Helight.Xu
  0 siblings, 1 reply; 18+ messages in thread
From: Helight.Xu @ 2009-12-18 13:23 UTC (permalink / raw)
  To: ibm-acpi-devel, Américo Wang, linux-kernel

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


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [Patch] thinkpad_acpi: fix a build error
@ 2009-12-18  9:28 Amerigo Wang
  2009-12-18  9:42 ` Xiaotian Feng
  0 siblings, 1 reply; 18+ messages in thread
From: Amerigo Wang @ 2009-12-18  9:28 UTC (permalink / raw)
  To: linux-kernel
  Cc: Henrique de Moraes Holschuh, Corentin Chary, ibm-acpi-devel,
	Len Brown, Amerigo Wang, Alan Jenkins, akpm, helight.xu


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!

Cc: Len Brown <len.brown@intel.com>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Reported-by: Helight.Xu <helight.xu@gmail.com>
Signed-off-by: WANG Cong <amwang@redhat.com>
Tested-by: Helight.Xu <helight.xu@gmail.com>

---
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index fc5bf9d..596966c 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 SOUND
 	select BACKLIGHT_LCD_SUPPORT
 	select BACKLIGHT_CLASS_DEVICE
 	select HWMON

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-12-25 11:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18 13:23 [PATCH] thinkpad_acpi: fix a build error Helight.Xu
2009-12-18 13:28 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox