]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd: declare amdgpu_exp_hw_support in amdgpu.h
authorWambui Karuga <wambui.karugax@gmail.com>
Mon, 28 Oct 2019 09:20:04 +0000 (12:20 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2019 15:19:17 +0000 (11:19 -0400)
Declare `amdgpu_exp_hw_support` as extern in amdgpu.h to address the
following sparse warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:118:5: warning: symbol 'amdgpu_exp_hw_support' was not declared. Should it be static?

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Suggested-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h

index 4a2b413c8a25414ce4a6c6305dae822d79b85101..c9acf824f0be6338654fe3cef44affe32a7f01da 100644 (file)
@@ -139,6 +139,7 @@ extern int amdgpu_vm_fragment_size;
 extern int amdgpu_vm_fault_stop;
 extern int amdgpu_vm_debug;
 extern int amdgpu_vm_update_mode;
+extern int amdgpu_exp_hw_support;
 extern int amdgpu_dc;
 extern int amdgpu_sched_jobs;
 extern int amdgpu_sched_hw_submission;