projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
993819c
)
samsung-laptop: set backlight type
author
Michal Marek
<mmarek@suse.cz>
Fri, 8 Apr 2011 15:02:05 +0000
(17:02 +0200)
committer
Matthew Garrett
<mjg@redhat.com>
Tue, 12 Apr 2011 15:27:40 +0000
(11:27 -0400)
Cherry-picked from drivers/staging/samsung-laptop/samsung-laptop.c
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/samsung-laptop.c
b/drivers/platform/x86/samsung-laptop.c
index 39f30ff090ab9196f932315fd074dbfee4164fdc..d347116d150e38146eedf6e817e51afc84898169 100644
(file)
--- a/
drivers/platform/x86/samsung-laptop.c
+++ b/
drivers/platform/x86/samsung-laptop.c
@@
-781,6
+781,7
@@
static int __init samsung_init(void)
/* create a backlight device to talk to this one */
memset(&props, 0, sizeof(struct backlight_properties));
+ props.type = BACKLIGHT_PLATFORM;
props.max_brightness = sabi_config->max_brightness;
backlight_device = backlight_device_register("samsung", &sdev->dev,
NULL, &backlight_ops,