Skip to contentSkip to conversation

x86/platform: samsung-laptop: Update Kconfig dependencies.

PATCH New Tomasz Moń 1 participant 1 message Jun 29, 2012 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/platform: samsung-laptop: Update Kconfig dependencies.

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.

---
 drivers/platform/x86/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/Kconfig +1 -0
index 2a262f5..5add45e 100644
@@ -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
Signature · 1 line
1.7.10