|
@@ -136,6 +136,7 @@ static int da903x_backlight_probe(struct platform_device *pdev)
|
|
|
da903x_write(data->da903x_dev, DA9034_WLED_CONTROL2,
|
|
|
DA9034_WLED_ISET(pdata->output_current));
|
|
|
|
|
|
+ memset(&props, 0, sizeof(props));
|
|
|
props.type = BACKLIGHT_RAW;
|
|
|
props.max_brightness = max_brightness;
|
|
|
bl = backlight_device_register(pdev->name, data->da903x_dev, data,
|