diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-02-24 16:25:51 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:16:39 -0400 |
commit | c2e218dda078f4e8d09d2493b01a7e256cfe38aa (patch) | |
tree | 85c78aff8fee8d858d7cf58c393c0de6adcd47f8 /drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | |
parent | ce9c088051e198b19eb533b24c605b7cedbe5b9c (diff) | |
download | talos-obmc-linux-c2e218dda078f4e8d09d2493b01a7e256cfe38aa.tar.gz talos-obmc-linux-c2e218dda078f4e8d09d2493b01a7e256cfe38aa.zip |
drm/amd/display: Some more warning fixes
This doesn't show with gcc6
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c index dd922bdcc145..3e3eefea3e82 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c @@ -393,8 +393,8 @@ static void dce_clock_read_integrated_info(struct dce_disp_clk *clk_dce) { struct dc_debug *debug = &clk_dce->base.ctx->dc->debug; struct dc_bios *bp = clk_dce->base.ctx->dc_bios; - struct integrated_info info = { 0 }; - struct firmware_info fw_info = { 0 }; + struct integrated_info info = { { { 0 } } }; + struct firmware_info fw_info = { { 0 } }; int i; if (bp->integrated_info) @@ -456,7 +456,7 @@ static void dce_clock_read_ss_info(struct dce_disp_clk *clk_dce) bp, AS_SIGNAL_TYPE_GPU_PLL); if (ss_info_num) { - struct spread_spectrum_info info = { 0 }; + struct spread_spectrum_info info = { { 0 } }; enum bp_result result = bp->funcs->get_spread_spectrum_info( bp, AS_SIGNAL_TYPE_GPU_PLL, 0, &info); |