[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1263820516-6924-1-git-send-email-hagen@jauu.net>
Date: Mon, 18 Jan 2010 14:15:16 +0100
From: Hagen Paul Pfeifer <hagen@...u.net>
To: linux-kernel@...r.kernel.org
Cc: hmh@....eng.br
Subject: [PATCH 1/1] thinkpad-acpi: fix link error to include sound arch
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@...u.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
--
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