Applied. thanks, -Len On Friday 25 January 2008 01:48, Zhang Rui wrote: > From: Zhang Rui <rui.zhang@xxxxxxxxx> > > Call notifier chain for display/brightness switch events. > The kernel mode graphics driver is interested in this. > > Sign-off-by: Zhang Rui <rui.zhang@xxxxxxxxx> > --- > drivers/acpi/video.c | 2 ++ > 1 file changed, 2 insertions(+) > > Index: linux-2.6/drivers/acpi/video.c > =================================================================== > --- linux-2.6.orig/drivers/acpi/video.c > +++ linux-2.6/drivers/acpi/video.c > @@ -1765,6 +1765,7 @@ static void acpi_video_bus_notify(acpi_h > 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(acp > 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 linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html