diff options
author | Alessandro Guido <alessandro.guido@gmail.com> | 2007-01-13 17:04:35 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-13 03:05:43 -0500 |
commit | 243e8b191df4e9c11e62ea11fa298351997e98c3 (patch) | |
tree | ed2f711781f33e05eaaa1d1de0d31cf0562cafdb | |
parent | 50f62afb114ffcf052cf07d4b49b2d148b749955 (diff) |
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 <alessandro.guido@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | 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 d509468a58a2..fd7d55a4e588 100644 --- a/drivers/acpi/sony_acpi.c +++ b/drivers/acpi/sony_acpi.c | |||
@@ -77,6 +77,14 @@ static struct sony_acpi_value { | |||
77 | int debug; /* active only in debug mode ? */ | 77 | int debug; /* active only in debug mode ? */ |
78 | } sony_acpi_values[] = { | 78 | } sony_acpi_values[] = { |
79 | { | 79 | { |
80 | .name = "brightness", | ||
81 | .acpiget = "GBRT", | ||
82 | .acpiset = "SBRT", | ||
83 | .min = 1, | ||
84 | .max = SONY_MAX_BRIGHTNESS, | ||
85 | .debug = 0, | ||
86 | }, | ||
87 | { | ||
80 | .name = "brightness_default", | 88 | .name = "brightness_default", |
81 | .acpiget = "GPBR", | 89 | .acpiget = "GPBR", |
82 | .acpiset = "SPBR", | 90 | .acpiset = "SPBR", |