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)
commitd942070575910fdb687b9c8fd5467704b2f77c24
treeb7c29a2ff66860f76eb4f6b5ee95acb980f84d36
parent946ab8db6953535a3a88c957db8328beacdfed9d
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: 8b8031703bd7 ("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