summary refs log tree commit diff
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorHolger Macht <hmacht@suse.de>2006-10-20 14:30:29 -0700
committerLen Brown <len.brown@intel.com>2006-10-21 01:37:28 -0400
commitc92635572489b810d03acdf03f61bf6dd1af5433 (patch)
tree1cd8aa4bc014a40aad2780eb3fe743768c78fc40 /drivers/acpi/Kconfig
parent2039a6eb72d4b5d0dd71de5c4dff5db129848c44 (diff)
downloadlinux-c92635572489b810d03acdf03f61bf6dd1af5433.tar.gz
ACPI: toshiba_acpi: Add support for the generic backlight device
Add support for the generic backlight interface below /sys/class/backlight.
Keep the procfs brightness handling for backward compatibility.

To achive this, add two generic functions get_lcd and set_lcd
to be used both by the procfs related and the sysfs related methods.

[apw@shadowen.org: backlight users need to select BACKLIGHT_CLASS_DEVICE]

Signed-off-by: Holger Macht <hmacht@suse.de>
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 9b64c4e6c63e..59f9def21720 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -227,6 +227,7 @@ config ACPI_IBM_DOCK
 config ACPI_TOSHIBA
 	tristate "Toshiba Laptop Extras"
 	depends on X86
+	select BACKLIGHT_CLASS_DEVICE
 	---help---
 	  This driver adds support for access to certain system settings
 	  on "legacy free" Toshiba laptops.  These laptops can be recognized by