aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel_oaktrail.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel_oaktrail.c')
-rw-r--r--drivers/platform/x86/intel_oaktrail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c
index e936364a609d..7f88c7923fc6 100644
--- a/drivers/platform/x86/intel_oaktrail.c
+++ b/drivers/platform/x86/intel_oaktrail.c
@@ -250,6 +250,7 @@ static int oaktrail_backlight_init(void)
struct backlight_properties props;
memset(&props, 0, sizeof(struct backlight_properties));
+ props.type = BACKLIGHT_PLATFORM;
props.max_brightness = OT_EC_BL_BRIGHTNESS_MAX;
bd = backlight_device_register(DRIVER_NAME,
&oaktrail_device->dev, NULL,