OSDN Git Service

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)
commit7e0ff20c7a66c9deab6f9c3405bac854bdf61e8f
treee7fcc284bb4523c89eff7e3441980b99c4f09b56
parent4ef0b9d0a10eab55d36dc2f3ea316163c4addf8c
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