]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Fix compile error on older GCC versions
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Mon, 18 Jun 2018 16:23:03 +0000 (12:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:49:43 +0000 (14:49 -0500)
commit1a2eaed80a0bd19f69da880d87f037f5829fb664
treef8a1db866b852727b90d229a9b23f817a4b9b5f9
parentf8ac2cf78f276b4d9fc0bc6b90f5e3560caa11de
drm/amd/display: Fix compile error on older GCC versions

GCC 4.9 reports a 'missing braces around initializer' error. This is a
bug, documented here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119

Fix it by adding another brace.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Mikita Lipski <Mikita.Lipski@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c