summaryrefslogtreecommitdiff
path: root/include/linux/backlight.h
diff options
context:
space:
mode:
authorThomas Tuttle <linux-kernel@ttuttle.net>2006-12-19 12:56:14 -0800
committerLen Brown <len.brown@intel.com>2006-12-20 01:38:38 -0500
commitf4715189dfb1c381ad36b7e02e3716fb7a7f84db (patch)
treecaa02518b93f2d6d5a26138a23fbee82e8fd497c /include/linux/backlight.h
parent4afaf54b3b97fa8cf2d1d9bcd7612b195acb53ae (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/linux/backlight.h')
0 files changed, 0 insertions, 0 deletions