From: Mattia Dongili <[EMAIL PROTECTED]>

Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]>
---
 drivers/acpi/sony_acpi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/sony_acpi.c b/drivers/acpi/sony_acpi.c
index c65f589..8c69282 100644
--- a/drivers/acpi/sony_acpi.c
+++ b/drivers/acpi/sony_acpi.c
@@ -357,6 +357,8 @@ static int sony_acpi_add(struct acpi_device *device)
                if (IS_ERR(sony_backlight_device)) {
                        printk(LOG_PFX "unable to register backlight device\n");
                }
+               sony_backlight_properties.brightness =
+                       sony_backlight_get_brightness(sony_backlight_device);
        }
 
        for (item = sony_acpi_values; item->name; ++item) {
-- 
1.4.4.2

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to