diff options
author | bobzhou <bob.zhou@amd.com> | 2023-02-27 15:30:54 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-28 14:30:44 -0500 |
commit | e68d1e074d5e94b609de01a3ad3287d3d17721f2 (patch) | |
tree | 6be27ab1f7550e0b166e57884c3b8cbddde84ecf /tools/lib | |
parent | fd234e7581162573742dfb8cc4dc0af3d3148138 (diff) | |
download | linux-stable-e68d1e074d5e94b609de01a3ad3287d3d17721f2.tar.gz linux-stable-e68d1e074d5e94b609de01a3ad3287d3d17721f2.tar.bz2 linux-stable-e68d1e074d5e94b609de01a3ad3287d3d17721f2.zip |
drm/amdgpu/vcn: 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 = 0; i < adev->vcn.num_vcn_inst; ++i) {
Signed-off-by: bobzhou <bob.zhou@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions