aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/cmdlinepart.c
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 /drivers/mtd/cmdlinepart.c
parent4afaf54b3b97fa8cf2d1d9bcd7612b195acb53ae (diff)
downloadkernel_samsung_tuna-f4715189dfb1c381ad36b7e02e3716fb7a7f84db.zip
kernel_samsung_tuna-f4715189dfb1c381ad36b7e02e3716fb7a7f84db.tar.gz
kernel_samsung_tuna-f4715189dfb1c381ad36b7e02e3716fb7a7f84db.tar.bz2
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 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions