drm/amdgpu: fix non-ANSI declaration of amdgpu_amdkfd_gfx_*_get_functions()
amdgpu_amdkfd_gfx_7_get_functions and amdgpu_amdkfd_gfx_8_0_get_functions have no parameters, so use the normal void parameter convention to make them match their prototypes in the header file drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
92e963f50f
commit
f785d98711
|
@ -154,7 +154,7 @@ static const struct kfd2kgd_calls kfd2kgd = {
|
||||||
.get_fw_version = get_fw_version
|
.get_fw_version = get_fw_version
|
||||||
};
|
};
|
||||||
|
|
||||||
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_7_get_functions()
|
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_7_get_functions(void)
|
||||||
{
|
{
|
||||||
return (struct kfd2kgd_calls *)&kfd2kgd;
|
return (struct kfd2kgd_calls *)&kfd2kgd;
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,7 @@ static const struct kfd2kgd_calls kfd2kgd = {
|
||||||
.get_fw_version = get_fw_version
|
.get_fw_version = get_fw_version
|
||||||
};
|
};
|
||||||
|
|
||||||
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_8_0_get_functions()
|
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_8_0_get_functions(void)
|
||||||
{
|
{
|
||||||
return (struct kfd2kgd_calls *)&kfd2kgd;
|
return (struct kfd2kgd_calls *)&kfd2kgd;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue