diff options
author | Michal Marek <mmarek@suse.cz> | 2011-04-08 17:02:05 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-04-12 17:27:40 +0200 |
commit | 8713b04ab8da256493410bd4f25170d2e0836534 (patch) | |
tree | 00671819e39b3762d6b97d9b0ec816d3faca6738 /drivers/platform/x86/samsung-laptop.c | |
parent | staging: samsung-laptop has moved to platform/x86 (diff) | |
download | linux-8713b04ab8da256493410bd4f25170d2e0836534.tar.xz linux-8713b04ab8da256493410bd4f25170d2e0836534.zip |
samsung-laptop: set backlight type
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>
Diffstat (limited to 'drivers/platform/x86/samsung-laptop.c')
-rw-r--r-- | drivers/platform/x86/samsung-laptop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 39f30ff090ab..d347116d150e 100644 --- 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, |