diff options
author | Holger Macht <hmacht@suse.de> | 2006-10-20 14:30:28 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-21 01:34:48 -0400 |
commit | 8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11 (patch) | |
tree | 3bc37ab8a95ff4f5d1878c2fd2553b46a3e08d02 /drivers/acpi/Kconfig | |
parent | c7a3bd177f248d01ee18a01d22048c80e071c331 (diff) | |
download | lwn-8acb025085aa88c41063bfa0f2c3b4d0a3f2ef11.tar.gz lwn-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 |