Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7761f638f6e0f276fe8612ba306d09c40d1b553c Commit: 7761f638f6e0f276fe8612ba306d09c40d1b553c Parent: 9ee85241fdaab358dff1d8647f20a478cfa512a1 Author: Zhang Rui <[EMAIL PROTECTED]> AuthorDate: Fri Jan 25 14:48:12 2008 +0800 Committer: Len Brown <[EMAIL PROTECTED]> CommitDate: Thu Feb 7 03:22:57 2008 -0500
ACPI: video: call ACPI notifier chain for ACPI video notifications Call notifier chain for display/brightness switch events. The kernel mode graphics driver is interested in this. Sign-off-by: Zhang Rui <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/video.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index d4b4b52..74ff0fa 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -1765,6 +1765,7 @@ static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data) break; } + acpi_notifier_call_chain(device, event, 0); input_report_key(input, keycode, 1); input_sync(input); input_report_key(input, keycode, 0); @@ -1826,6 +1827,7 @@ static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data) break; } + acpi_notifier_call_chain(device, event, 0); input_report_key(input, keycode, 1); input_sync(input); input_report_key(input, keycode, 0); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html