diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2011-09-20 17:55:54 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-10-24 10:52:37 -0400 |
commit | ac2dad886d9fae561fe53d693e1b6c33fb0ad674 (patch) | |
tree | 54c51cbfbee212e368b03353777efcae942c46b9 /drivers/platform/x86 | |
parent | 36d03f93558c66527e5dbf602cb2eb4ccbd899a6 (diff) |
toshiba_acpi: Initialize brightness in backlight device
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index c51a64c49559..13ef8c37471d 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
@@ -979,6 +979,7 @@ static int __devinit toshiba_acpi_add(struct acpi_device *acpi_dev) | |||
979 | dev->backlight_dev = NULL; | 979 | dev->backlight_dev = NULL; |
980 | goto error; | 980 | goto error; |
981 | } | 981 | } |
982 | dev->backlight_dev->props.brightness = get_lcd(dev->backlight_dev); | ||
982 | 983 | ||
983 | /* Register rfkill switch for Bluetooth */ | 984 | /* Register rfkill switch for Bluetooth */ |
984 | if (hci_get_bt_present(dev, &bt_present) == HCI_SUCCESS && bt_present) { | 985 | if (hci_get_bt_present(dev, &bt_present) == HCI_SUCCESS && bt_present) { |