* [PATCH 1/1] x86/platform: samsung-laptop: Update Kconfig dependencies.
@ 2012-06-29 20:59 Tomasz Moń
0 siblings, 0 replies; only message in thread
From: Tomasz Moń @ 2012-06-29 20:59 UTC (permalink / raw)
To: Matthew Garrett, platform-driver-x86; +Cc: linux-kernel, Tomasz Moń
samsung-laptop driver can be compiled if ACPI_VIDEO is either compiled or
exluded. Trying to built-in the samsung-laptop driver when ACPI_VIDEO is
compiled as module results in linking error.
This patch resolves this problem by setting proper dependencies in Kconfig.
Signed-off-by: Tomasz Moń <desowin@gmail.com>
---
drivers/platform/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index 2a262f5..5add45e 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -717,6 +717,7 @@ config XO15_EBOOK
config SAMSUNG_LAPTOP
tristate "Samsung Laptop driver"
depends on X86
+ depends on ACPI_VIDEO || ACPI_VIDEO = n
depends on RFKILL || RFKILL = n
depends on BACKLIGHT_CLASS_DEVICE
select LEDS_CLASS
--
1.7.10
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-29 19:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-29 20:59 [PATCH 1/1] x86/platform: samsung-laptop: Update Kconfig dependencies Tomasz Moń
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®