backlight: initialize struct backlight_properties properly
[deliverable/linux.git] / drivers / video / omap2 / displays / panel-acx565akm.c
index d26f37ac69d87d882eb7a2a5d539a7e90e55c4fa..74e7cf078505650498387f4c7e43292419fcf60c 100644 (file)
@@ -532,6 +532,7 @@ static int acx_panel_probe(struct omap_dss_device *dssdev)
 
        /*------- Backlight control --------*/
 
+       memset(&props, 0, sizeof(props));
        props.fb_blank = FB_BLANK_UNBLANK;
        props.power = FB_BLANK_UNBLANK;
        props.type = BACKLIGHT_RAW;
This page took 0.024383 seconds and 5 git commands to generate.