commit | 6bb811d0ee3e1fe9f22a028c89b3472c999b70bc | [log] [tgz] |
---|---|---|
author | bobzhou <bob.zhou@amd.com> | Mon Feb 27 15:30:54 2023 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 01 22:45:08 2023 -0500 |
tree | 84c2868e9708c27e5b5253c41f29888dfc9f10c5 | |
parent | a8af68f79d149796609a679b00a34762249c6a5b [diff] |
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>