diff options
author | Holger Macht <hmacht@suse.de> | 2006-10-20 23:30:28 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-21 07:34:48 +0200 |
commit | 8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11 (patch) | |
tree | 3bc37ab8a95ff4f5d1878c2fd2553b46a3e08d02 /drivers/acpi/Kconfig | |
parent | [PATCH] fix PXA2xx UDC compilation error (diff) | |
download | linux-8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11.tar.xz linux-8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11.zip |
ACPI: ibm_acpi: Add support for the generic backlight device
Add support for the generic backlight interface below /sys/class/backlight.
The patch keeps the procfs brightness handling for backward compatibility.
Add two generic functions brightness_get and brightness_set
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 0f9d4be7ed75..bc58a3b18e06 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -200,6 +200,7 @@ config ACPI_ASUS config ACPI_IBM tristate "IBM ThinkPad Laptop Extras" depends on X86 + select BACKLIGHT_CLASS_DEVICE ---help--- This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds support for Fn-Fx key combinations, Bluetooth control, video |