diff options
author | 2022-11-15 12:21:47 +0800 | |
---|---|---|
committer | 2022-11-23 09:47:12 -0500 | |
commit | d0c2dd737bdea63c6c33be1436c63f12aaf87a5b (patch) | |
tree | 7448c80e19ff30b58d41b968e187968ca522cbf3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | |
parent | Merge tag 'drm-intel-next-2022-11-18' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (diff) | |
download | linux-rng-d0c2dd737bdea63c6c33be1436c63f12aaf87a5b.tar.xz linux-rng-d0c2dd737bdea63c6c33be1436c63f12aaf87a5b.zip |
drm/amd/display: fix compilation issue with legacy gcc
This patch is used to fix following compilation issue with legacy gcc
error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int i = flag_vlevel; i < context->bw_ctx.dml.soc.num_states; i++) {
Signed-off-by: Bob zhou <bobzhou2@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c')
0 files changed, 0 insertions, 0 deletions