OSDN Git Service

drm/amdgpu: fix function scopes
authorIsabella Basso <isabbasso@riseup.net>
Wed, 8 Dec 2021 01:25:23 +0000 (22:25 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:32:34 +0000 (16:32 -0500)
commit2351b7d4e3fd636f8ce0bb9554645dff2dbe86ce
tree1fef632febd210a57e18fd8e35ceacf0be83b362
parentbbe04dec5c52a075175a627d510140d386a71f98
drm/amdgpu: fix function scopes

This turns previously global functions into static, thus removing
compile-time warnings such as:

 warning: no previous prototype for 'amdgpu_vkms_output_init' [-Wmissing-prototypes]
 399 | int amdgpu_vkms_output_init(struct drm_device *dev,
     |     ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Isabella Basso <isabbasso@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c