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

Commit 8857aa9b authored by Chandan Uddaraju's avatar Chandan Uddaraju Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Fix warnings when using different compilers



Uninitialized variables generate warnings for gcc-4.5.2 compiler.
These variables are only initialized for video mode configuration.
Fix this issue by initializing the variables.

Change-Id: Ib51d7afae19b77d3149f3ee3e041209a552d5c82
Signed-off-by: default avatarChandan Uddaraju <chandanu@codeaurora.org>
parent def6c024
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ int mdss_dsi_on(struct mdss_panel_data *pdata)
	struct mipi_panel_info *mipi;
	u32 hbp, hfp, vbp, vfp, hspw, vspw, width, height;
	u32 ystride, bpp, data, dst_bpp;
	u32 dummy_xres, dummy_yres;
	u32 dummy_xres = 0, dummy_yres = 0;
	struct mdss_dsi_ctrl_pdata *ctrl_pdata = NULL;
	u32 hsync_period, vsync_period;