Skip to content

Commit

Permalink
sony_acpi: Add backlight support to the sony_acpi v2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alessandro Guido authored and Len Brown committed Feb 13, 2007
1 parent 50f62af commit 243e8b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/acpi/sony_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ static struct sony_acpi_value {
int valid; /* Has ever been set */
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",
Expand Down

0 comments on commit 243e8b1

Please sign in to comment.