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: Chandan Uddaraju <chandanu@codeaurora.org>
This commit is contained in:
Chandan Uddaraju 2013-09-03 18:20:02 -07:00 committed by Gerrit - the friendly Code Review server
parent def6c0248c
commit 8857aa9be8

View file

@ -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;