Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8713b04a authored by Michal Marek's avatar Michal Marek Committed by Matthew Garrett
Browse files

samsung-laptop: set backlight type



Cherry-picked from drivers/staging/samsung-laptop/samsung-laptop.c

Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 993819c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,