git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: add backlight type
[pandora-kernel.git]
/
drivers
/
platform
/
x86
/
asus-laptop.c
diff --git
a/drivers/platform/x86/asus-laptop.c
b/drivers/platform/x86/asus-laptop.c
index
f3aa6a7
..
5a6f7d7
100644
(file)
--- a/
drivers/platform/x86/asus-laptop.c
+++ b/
drivers/platform/x86/asus-laptop.c
@@
-667,6
+667,7
@@
static int asus_backlight_init(struct asus_laptop *asus)
memset(&props, 0, sizeof(struct backlight_properties));
props.max_brightness = 15;
+ props.type = BACKLIGHT_PLATFORM;
bd = backlight_device_register(ASUS_LAPTOP_FILE,
&asus->platform_device->dev, asus,