]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac4aea1765da0f9862cf0e7c44392d882b0b45e2
treee7fcc284bb4523c89eff7e3441980b99c4f09b56
parent4e362a5335b3dd861a49339af6e34d0fae6daad2
drm/amd: declare amdgpu_exp_hw_support in amdgpu.h

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