diff options
author | Thomas Tuttle <linux-kernel@ttuttle.net> | 2006-12-19 12:56:14 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-20 01:38:38 -0500 |
commit | f4715189dfb1c381ad36b7e02e3716fb7a7f84db (patch) | |
tree | caa02518b93f2d6d5a26138a23fbee82e8fd497c /include/asm-sparc/kgdb.h | |
parent | 4afaf54b3b97fa8cf2d1d9bcd7612b195acb53ae (diff) |
ACPI: Implement acpi_video_get_next_level()
acpi_video_get_next_level was supposed to implement an algorithm to select
a new brightness level based on the old brightness level of an ACPI video
device, but it simply says "/* Fix me */" and returns the current
brightness.
This patch implements acpi_video_get_next_level properly. It had to change
a few constants at the top of the file because they were (apparently)
wrong, but it appears to work on my Dell Inspiron e1405 (with BIOS A05
only--BIOS A04 doesn't seem to send ACPI video hotkey events).
[akpm@osdl.org: cleanups]
Signed-off-by: Thomas Tuttle <linux-kernel@ttuttle.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/asm-sparc/kgdb.h')
0 files changed, 0 insertions, 0 deletions