Skip to content
Commit e246114c authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

amdgpu: Move union declaration to top of amdgpu_cs_ctx_override_priority



Avoids compiler warning:

../../amdgpu/amdgpu_cs.c: In function 'amdgpu_cs_ctx_override_priority':
../../amdgpu/amdgpu_cs.c:155:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  union drm_amdgpu_sched args;
  ^~~~~

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent 8849aa87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment