]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: fix struct init in renoir_print_clk_levels
authorRaul E Rangel <rrangel@chromium.org>
Tue, 5 Nov 2019 22:58:02 +0000 (15:58 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Nov 2019 21:27:48 +0000 (16:27 -0500)
commit3bd7c50214845844b3651f19ac5f93012fae029e
treeb7c29a2ff66860f76eb4f6b5ee95acb980f84d36
parent628d79664c392f189c70a2d2c14cff591aa31e7a
drm/amd/powerplay: fix struct init in renoir_print_clk_levels

drivers/gpu/drm/amd/powerplay/renoir_ppt.c:186:2: error: missing braces
around initializer [-Werror=missing-braces]
  SmuMetrics_t metrics = {0};
    ^

Fixes: f75176b23e29 ("drm/amd/powerplay: implement sysfs for getting dpm clock")
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/renoir_ppt.c