public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] thinkpad-acpi: fix link error to include sound arch
@ 2010-01-18 13:15 Hagen Paul Pfeifer
  2010-01-19 14:51 ` Henrique de Moraes Holschuh
  0 siblings, 1 reply; 5+ messages in thread
From: Hagen Paul Pfeifer @ 2010-01-18 13:15 UTC (permalink / raw)
  To: linux-kernel; +Cc: hmh

Thinkpad ACPI depends on sound for resume/suspend/shutdown
events. This fix corrects the Kconfig dependency between
in-kernel build and module build. The preprocessor
directive #ifdef CONFIG_THINKPAD_ACPI_ALSA_SUPPORT
isn't sufficient to handle this build dependency.

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
---
 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 db32c25..a4a31b5 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -214,6 +214,7 @@ config THINKPAD_ACPI
 	tristate "ThinkPad ACPI Laptop Extras"
 	depends on ACPI
 	depends on INPUT
+	depends on SND
 	depends on RFKILL || RFKILL = n
 	select BACKLIGHT_LCD_SUPPORT
 	select BACKLIGHT_CLASS_DEVICE
-- 
1.6.5


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

end of thread, other threads:[~2010-02-20  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 13:15 [PATCH 1/1] thinkpad-acpi: fix link error to include sound arch Hagen Paul Pfeifer
2010-01-19 14:51 ` Henrique de Moraes Holschuh
2010-01-19 15:07   ` Hagen Paul Pfeifer
2010-02-07 20:05     ` Henrique de Moraes Holschuh
2010-02-20  9:47       ` Hagen Paul Pfeifer

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