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>
This commit is contained in:
parent
bbe04dec5c
commit
2351b7d4e3
@ -411,8 +411,8 @@ static struct drm_plane *amdgpu_vkms_plane_init(struct drm_device *dev,
|
||||
return plane;
|
||||
}
|
||||
|
||||
int amdgpu_vkms_output_init(struct drm_device *dev,
|
||||
struct amdgpu_vkms_output *output, int index)
|
||||
static int amdgpu_vkms_output_init(struct drm_device *dev, struct
|
||||
amdgpu_vkms_output *output, int index)
|
||||
{
|
||||
struct drm_connector *connector = &output->connector;
|
||||
struct drm_encoder *encoder = &output->encoder;
|
||||
|
Loading…
Reference in New Issue
Block a user