summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/msi-wmi.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-23 08:35:25 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-23 08:35:25 +0200
commit03351ff4d897098a590cb247b6eebc470b8ecb5a (patch)
treeaed7a98a3d035689364c9ad5d7623d954403681e /drivers/platform/x86/msi-wmi.c
parentInput: atmel_mxt_ts - convert to MT protocol B (diff)
parentLinux 2.6.39-rc4 (diff)
downloadlinux-03351ff4d897098a590cb247b6eebc470b8ecb5a.tar.xz
linux-03351ff4d897098a590cb247b6eebc470b8ecb5a.zip
Merge commit 'v2.6.39-rc4' into next
Diffstat (limited to 'drivers/platform/x86/msi-wmi.c')
-rw-r--r--drivers/platform/x86/msi-wmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c
index 35278ad7e628..d5419c9ec07a 100644
--- a/drivers/platform/x86/msi-wmi.c
+++ b/drivers/platform/x86/msi-wmi.c
@@ -254,6 +254,7 @@ static int __init msi_wmi_init(void)
if (!acpi_video_backlight_support()) {
struct backlight_properties props;
memset(&props, 0, sizeof(struct backlight_properties));
+ props.type = BACKLIGHT_PLATFORM;
props.max_brightness = ARRAY_SIZE(backlight_map) - 1;
backlight = backlight_device_register(DRV_NAME, NULL, NULL,
&msi_backlight_ops,