Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=243e8b191df4e9c11e62ea11fa298351997e98c3
Commit:     243e8b191df4e9c11e62ea11fa298351997e98c3
Parent:     50f62afb114ffcf052cf07d4b49b2d148b749955
Author:     Alessandro Guido <[EMAIL PROTECTED]>
AuthorDate: Sat Jan 13 23:04:35 2007 +0100
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 03:05:43 2007 -0500

    sony_acpi: Add backlight support to the sony_acpi v2
    
    Enable the sony_acpi driver to use the backlight subsysyem for adjusting
    the monitor brightness.  Old way of changing the brightness will be still
    available for compatibility with existing tools.
    
    Signed-off-by: Alessandro Guido <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/sony_acpi.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/sony_acpi.c b/drivers/acpi/sony_acpi.c
index d509468..fd7d55a 100644
--- a/drivers/acpi/sony_acpi.c
+++ b/drivers/acpi/sony_acpi.c
@@ -77,6 +77,14 @@ static struct sony_acpi_value {
        int                     debug;   /* active only in debug mode ? */
 } sony_acpi_values[] = {
        {
+               .name           = "brightness",
+               .acpiget        = "GBRT",
+               .acpiset        = "SBRT",
+               .min            = 1,
+               .max            = SONY_MAX_BRIGHTNESS,
+               .debug          = 0,
+       },
+       {
                .name           = "brightness_default",
                .acpiget        = "GPBR",
                .acpiset        = "SPBR",
-
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

Reply via email to