drm/amd: fix compiler error to support older compilers
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Sat, 21 Jan 2023 20:47:11 +0000 (15:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:52:21 +0000 (09:52 -0400)
commit5ca1ceebab140b36928dabc9a5b36b9a3010e844
tree16c4fccc5eb58555ffe7e69673fa6884a70e18f3
parentb7c7011e67b09efc486b1de38f6bfbed75139989
drm/amd: fix compiler error to support older compilers

‘for’ loop initial declarations are only allowed in C99 or C11 mode

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram_reg_init.c