]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix struct init in update_bounding_box
authorRaul E Rangel <rrangel@chromium.org>
Thu, 3 Oct 2019 20:24:44 +0000 (14:24 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 13:53:14 +0000 (08:53 -0500)
commit730925930ad4ed781e80c54ed7175828d2e4d386
treed297ea1d6b53cda23bf0a02bffd0af8f8b7b6483
parentbcd070981caa7825f64ce6034b02561c9e46a867
drm/amd/display: fix struct init in update_bounding_box

dcn20_resource.c:2636:9: error: missing braces around initializer [-Werror=missing-braces]
  struct _vcs_dpi_voltage_scaling_st calculated_states[MAX_CLOCK_LIMIT_STATES] = {0};
         ^

Fixes: 9c0b42ddd4ba3 ("drm/amd/display: Add DCN2 HW Sequencer and Resource")
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c