X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fvideo%2Fbacklight%2Fmax8925_bl.c;h=07e8e273ced0b98898e0509dcc1de30424142eda;hb=94c8a984ae2adbd9a9626fb42e0f2faf3e36e86f;hp=209acc105cbcb440c4ed289c81a26f7b65ce0dfe;hpb=87450bd55d6f7caa472b5db49a97ca373baf2577;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c index 209acc105cbc..07e8e273ced0 100644 --- a/drivers/video/backlight/max8925_bl.c +++ b/drivers/video/backlight/max8925_bl.c @@ -136,6 +136,7 @@ static int __devinit max8925_backlight_probe(struct platform_device *pdev) data->current_brightness = 0; memset(&props, 0, sizeof(struct backlight_properties)); + props.type = BACKLIGHT_RAW; props.max_brightness = MAX_BRIGHTNESS; bl = backlight_device_register(name, &pdev->dev, data, &max8925_backlight_ops, &props);