mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
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:
parent
def6c0248c
commit
8857aa9be8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue